fooder-api/env.template
Piotr Domański 5bc37bc127
Some checks are pending
Python lint and test / linttest (push) Waiting to run
[cron] add dockerfile
2024-08-03 23:24:52 +02:00

16 lines
602 B
Text

POSTGRES_MAX_CONNECTIONS=200
POSTGRES_USER="${POSTGRES_USER}"
POSTGRES_DATABASE="${POSTGRES_DATABASE}"
POSTGRES_PASSWORD="${POSTGRES_PASSWORD}"
DB_URI="postgresql+asyncpg://${POSTGRES_USER}:${POSTGRES_PASSWORD}@database/${POSTGRES_DATABASE}"
ECHO_SQL=0
SECRET_KEY="${SECRET_KEY}" # generate with $ openssl rand -hex 32
API_KEY="${API_KEY}" # generate with $ openssl rand -hex 32
REFRESH_SECRET_KEY="${REFRESH_SECRET_KEY}" # generate with $ openssl rand -hex 32
ALGORITHM="HS256"
ACCESS_TOKEN_EXPIRE_MINUTES=30
REFRESH_TOKEN_EXPIRE_DAYS=30
API_KEY="${API_KEY}" # generate with $ openssl rand -hex 32