-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.toml
42 lines (38 loc) · 951 Bytes
/
config.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# Used by app
# Used by docker-compose
[run]
UVICORN_HOST = "0.0.0.0"
UVICORN_PORT = 8888
UVICORN_RELOAD = false
# Used by app
[db.sqlalchemy]
SQLA_ECHO = false
SQLA_ECHO_POOL = false
SQLA_POOL_SIZE = 50
SQLA_MAX_OVERFLOW = 10
# Used by app
# Used by docker-compose
[db.postgres]
# Specify as in Docker network
POSTGRES_USER = "postgres"
POSTGRES_PASSWORD = "changethis"
POSTGRES_DB = "web_app_db_pg"
# Set host to localhost for local dev
# Don't forget to regenerate dotenv
# Don't forget to apply alembic rev
# Set host to web_app_db_pg for prod
#POSTGRES_HOST = "localhost"
POSTGRES_HOST = "web_app_db_pg"
POSTGRES_PORT = 5432
# Used by Makefile
# Used by Dockerfile
# Used by docker-compose
[structure] # No '/' after dir name !
SRC_DIR = "src"
CONFIG_TOML = "config.toml"
PYPROJECT_TOML = "pyproject.toml"
POETRY_LOCK = "poetry.lock"
# Used by Makefile
[docker-compose]
COMPOSE_COMMAND = "docker compose"
COMPOSE_FILE = "docker-compose.yaml"