2023-04-01 16:19:12 +02:00
|
|
|
POSTGRES_MAX_CONNECTIONS=200
|
2023-09-03 15:43:24 +02:00
|
|
|
POSTGRES_USER="${POSTGRES_USER}"
|
|
|
|
POSTGRES_DATABASE="${POSTGRES_DATABASE}"
|
|
|
|
POSTGRES_PASSWORD="${POSTGRES_PASSWORD}"
|
2023-04-01 16:19:12 +02:00
|
|
|
|
|
|
|
DB_URI="postgresql+asyncpg://${POSTGRES_USER}:${POSTGRES_PASSWORD}@database/${POSTGRES_DATABASE}"
|
|
|
|
ECHO_SQL=0
|
|
|
|
|
2023-09-03 15:43:24 +02:00
|
|
|
SECRET_KEY="${SECRET_KEY}" # generate with $ openssl rand -hex 32
|
2024-08-03 23:24:52 +02:00
|
|
|
API_KEY="${API_KEY}" # generate with $ openssl rand -hex 32
|
2024-05-20 12:10:17 +02:00
|
|
|
REFRESH_SECRET_KEY="${REFRESH_SECRET_KEY}" # generate with $ openssl rand -hex 32
|
2023-04-01 16:19:12 +02:00
|
|
|
ALGORITHM="HS256"
|
|
|
|
ACCESS_TOKEN_EXPIRE_MINUTES=30
|
2023-04-02 14:38:22 +02:00
|
|
|
REFRESH_TOKEN_EXPIRE_DAYS=30
|
2024-05-21 11:11:47 +02:00
|
|
|
|
|
|
|
API_KEY="${API_KEY}" # generate with $ openssl rand -hex 32
|