13 lines
404 B
Text
13 lines
404 B
Text
POSTGRES_MAX_CONNECTIONS=200
|
|
POSTGRES_USER="fooder"
|
|
POSTGRES_DATABASE="fooder"
|
|
POSTGRES_PASSWORD=123
|
|
|
|
DB_URI="postgresql+asyncpg://${POSTGRES_USER}:${POSTGRES_PASSWORD}@database/${POSTGRES_DATABASE}"
|
|
ECHO_SQL=0
|
|
|
|
SECRET_KEY="" # generate with $ openssl rand -hex 32
|
|
REFRESH_SECRET_KEY="" # generate with $ openssl rand -hex 32
|
|
ALGORITHM="HS256"
|
|
ACCESS_TOKEN_EXPIRE_MINUTES=30
|
|
REFRESH_TOKEN_EXPIRE_DAYS=30
|