Add multiple database data source config (#1232)

* Add multiple database data source config

* Fix comments

* Fix deploy env
This commit is contained in:
Wu Clan
2026-08-14 17:44:45 +08:00
committed by GitHub
parent 67a6a58e57
commit 7568275126
7 changed files with 100 additions and 39 deletions
@@ -6,6 +6,9 @@ DATABASE_HOST='fba_postgres'
DATABASE_PORT=5432
DATABASE_USER='postgres'
DATABASE_PASSWORD='123456'
# 额外数据源
# DATABASE_SOURCES='{"read": "postgresql+asyncpg://user:password@host:5432/fba"}'
DATABASE_SOURCES='{}'
# Redis
REDIS_HOST='fba_redis'
REDIS_PORT=6379