This commit is contained in:
+9
-1
@@ -3,10 +3,18 @@ ZHIXING_SERVER_PORT=8000
|
||||
ZHIXING_WEB_PORT=5173
|
||||
ZHIXING_APP_ENV=development
|
||||
ZHIXING_LOG_LEVEL=INFO
|
||||
|
||||
# Development: docker-compose.dev.yml starts an independent local PostgreSQL.
|
||||
ZHIXING_POSTGRES_DB=zhixing
|
||||
ZHIXING_POSTGRES_USER=zhixing
|
||||
ZHIXING_POSTGRES_PASSWORD=zhixing
|
||||
ZHIXING_DATABASE_URL=postgresql://zhixing:zhixing@postgres:5432/zhixing
|
||||
# docker-compose.dev.yml uses the same local URL when this variable is unset.
|
||||
# ZHIXING_DATABASE_URL=postgresql://zhixing:zhixing@postgres:5432/zhixing
|
||||
|
||||
# Production: use the existing 1Panel PostgreSQL container on the external
|
||||
# Docker network. Replace <url-encoded-password>; do not use the development URL.
|
||||
# The current 1Panel PostgreSQL has SSL disabled; use its stable network alias.
|
||||
# ZHIXING_DATABASE_URL=postgresql://zhixing-system:<url-encoded-password>@postgresql:5432/zhixing-system?sslmode=disable
|
||||
ZHIXING_TUSHARE_TOKEN=
|
||||
ZHIXING_MARKET_DATA_CSV_ROOT=/app/data/market-data
|
||||
API_UPSTREAM=http://server:8000
|
||||
|
||||
Reference in New Issue
Block a user