fix: add docker-compose config and fix nginx proxy for /prod-api/ endpoint
This commit is contained in:
16
.env.docker.example
Normal file
16
.env.docker.example
Normal file
@@ -0,0 +1,16 @@
|
||||
# 复制为 .env 后填写(勿将 .env 提交到 Git)
|
||||
# cp .env.docker.example .env
|
||||
|
||||
# 对外发布后端端口(宿主机:容器均为 8039)
|
||||
BACKEND_PUBLISH=8039
|
||||
|
||||
# MySQL(示例为腾讯云 CynosDB,请按实际修改)
|
||||
MYSQL_HOST=gz-cynosdbmysql-grp-d26pzce5.sql.tencentcdb.com
|
||||
MYSQL_PORT=24936
|
||||
MYSQL_DATABASE=rlz
|
||||
MYSQL_USER=root
|
||||
MYSQL_PASSWORD=your_password_here
|
||||
MYSQL_USE_SSL=true
|
||||
|
||||
# Redis 由 docker-compose 内 rlz-redis 提供,一般无需改
|
||||
# REDIS_HOST=redis
|
||||
Reference in New Issue
Block a user