2026-08-03 13:47:24 +08:00
|
|
|
COMPOSE_PROJECT_NAME=zhixing-system-dev
|
|
|
|
|
ZHIXING_SERVER_PORT=8000
|
|
|
|
|
ZHIXING_WEB_PORT=5173
|
|
|
|
|
ZHIXING_APP_ENV=development
|
|
|
|
|
ZHIXING_LOG_LEVEL=INFO
|
2026-08-05 22:45:57 +08:00
|
|
|
|
|
|
|
|
# Development: docker-compose.dev.yml starts an independent local PostgreSQL.
|
2026-08-05 17:57:32 +08:00
|
|
|
ZHIXING_POSTGRES_DB=zhixing
|
|
|
|
|
ZHIXING_POSTGRES_USER=zhixing
|
|
|
|
|
ZHIXING_POSTGRES_PASSWORD=zhixing
|
2026-08-05 22:45:57 +08:00
|
|
|
# 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
|
2026-08-05 17:57:32 +08:00
|
|
|
ZHIXING_TUSHARE_TOKEN=
|
|
|
|
|
ZHIXING_MARKET_DATA_CSV_ROOT=/app/data/market-data
|
2026-08-03 13:47:24 +08:00
|
|
|
API_UPSTREAM=http://server:8000
|