mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-07-24 15:49:42 +02:00
fix: apply API_PORT in containers (#1754)
This commit is contained in:
parent
0d953da5b0
commit
9f6bcc83d5
3 changed files with 8 additions and 6 deletions
|
@ -12,7 +12,7 @@ class GunicornConfig:
|
|||
|
||||
# Env Variables
|
||||
self.host = os.getenv("HOST", "127.0.0.1")
|
||||
self.port = os.getenv("PORT", "9000")
|
||||
self.port = os.getenv("API_PORT", "9000")
|
||||
self.log_level: str = os.getenv("LOG_LEVEL", "info")
|
||||
self.bind: str = os.getenv("BIND", None)
|
||||
self.errorlog: str = os.getenv("ERROR_LOG", "-") or None
|
||||
|
@ -72,4 +72,4 @@ log_data = {
|
|||
"port": gunicorn_conf.port,
|
||||
}
|
||||
|
||||
print("---- Gunicorn Configuration ----", json.dumps(log_data, indent=4))
|
||||
print("---- Gunicorn Configuration ----", json.dumps(log_data, indent=4)) # noqa: T001
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue