Bugfixes in docker-compose and DB, gunicorn for prod, env vars for app host and port

This commit is contained in:
DarkCat09 2023-03-03 18:10:17 +04:00
parent 2135126235
commit 71964355b7
8 changed files with 43 additions and 5 deletions

View file

@ -20,6 +20,8 @@ class Settings(BaseSettings):
debug: bool = False
session_key: str = secrets.token_hex(32)
csrf_key: str = secrets.token_hex(32)
app_host: str = '127.0.0.1'
app_port: int = 8000
settings = Settings()