Chore: Refactored the ansible playbook to use one .env file and vars

Chore: Moved to gondor
This commit is contained in:
2023-08-07 07:32:28 +05:30
parent 5565e923ab
commit 77e2411a88
13 changed files with 53 additions and 93 deletions

13
docker/files/.env Normal file
View File

@ -0,0 +1,13 @@
HOST=0.0.0.0
PORT=80
LOG_LEVEL=WARN
DEBUG=false
SQLALCHEMY_DATABASE_URI=postgresql://postgres:123456@db:5432/brewman_{{ name }}
MODULE_NAME=brewman.main
PROJECT_NAME=brewman
SECRET_KEY={{ secret_key }}
MIDDLEWARE_SECRET_KEY={{ middleware_key }}
ALGORITHM=HS256
JWT_TOKEN_EXPIRE_MINUTES=30
ALEMBIC_LOG_LEVEL=INFO
ALEMBIC_SQLALCHEMY_LOG_LEVEL=WARN