mirror of
https://github.com/grillazz/fastapi-sqlalchemy-asyncpg.git
synced 2026-01-17 11:40:39 +03:00
wip: setting refactor
This commit is contained in:
9
.env
9
.env
@@ -8,6 +8,15 @@ SQL_USER=user
|
||||
SQL_PASS=secret
|
||||
SQL_URL=postgresql+asyncpg://${SQL_USER}:${SQL_PASS}@${SQL_HOST}/${SQL_DB}
|
||||
|
||||
# Postgres
|
||||
POSTGRES_SERVER=db
|
||||
POSTGRES_PORT=5432
|
||||
POSTGRES_DB=devdb
|
||||
POSTGRES_TEST_DB=testdb
|
||||
POSTGRES_USER=user
|
||||
POSTGRES_PASSWORD=secret
|
||||
|
||||
# Redis
|
||||
REDIS_HOST=redis
|
||||
REDIS_PORT=6379
|
||||
REDIS_DB=2
|
||||
|
||||
Reference in New Issue
Block a user