forked from brokermr810/QuantDinger
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
25 lines (23 loc) · 979 Bytes
/
.env.example
File metadata and controls
25 lines (23 loc) · 979 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#
# Project-root Docker/Compose overrides
# Copy to `.env` only when you need custom ports or want to switch image source.
#
# Optional custom ports
# FRONTEND_PORT=8888
# BACKEND_PORT=127.0.0.1:5000
# DB_PORT=127.0.0.1:5432
# Global image source switch
# Leave empty for official Docker Hub:
# IMAGE_PREFIX=
#
# Common alternatives (pick one, keep trailing slash):
# IMAGE_PREFIX=docker.m.daocloud.io/library/
# IMAGE_PREFIX=docker.xuanyuan.me/library/
#
# Important:
# - This file lives in the project root and is used by docker-compose build/pull.
# - `backend_api_python/.env` is runtime config for the backend container only.
# - `IMAGE_PREFIX` applies to postgres, redis, backend base image, and frontend nginx.
# - Backend Docker build auto-tries Aliyun apt/PyPI then falls back to Debian/PyPI official
# (no extra env). For slow `docker pull` of base images, use IMAGE_PREFIX or Docker
# Desktop → Settings → Docker Engine → registry-mirrors (e.g. daocloud).