Files
zhixing-system/.env.example
T

21 lines
926 B
Bash
Raw Normal View History

COMPOSE_PROJECT_NAME=zhixing-system-dev
ZHIXING_SERVER_PORT=8000
ZHIXING_WEB_PORT=5555
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
# 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