更新前后端配置并清理仓库内容
This commit is contained in:
23
infogenie-backend-go/.env.production.example
Normal file
23
infogenie-backend-go/.env.production.example
Normal file
@@ -0,0 +1,23 @@
|
||||
# 复制为 .env.production 后按需填写(勿提交真实密钥)
|
||||
APP_ENV=production
|
||||
APP_PORT=5002
|
||||
|
||||
# ===== MySQL(容器内访问宿主机时勿用 127.0.0.1)=====
|
||||
# 例:宿主机 MySQL 监听 3306 → DB_HOST=172.17.0.1(Linux 默认网桥)或宿主机局域网 IP
|
||||
# Docker Desktop(Windows/Mac):DB_HOST=host.docker.internal
|
||||
DB_HOST=172.17.0.1
|
||||
DB_PORT=3306
|
||||
DB_NAME=infogenie
|
||||
DB_USER=infogenie
|
||||
DB_PASSWORD=
|
||||
|
||||
# ===== Redis(可选;启用则必须能 Ping 通,否则服务无法启动)=====
|
||||
# REDIS_ENABLED=false
|
||||
# REDIS_ADDR=172.17.0.1:6379
|
||||
# REDIS_PASSWORD=
|
||||
# REDIS_DB=10
|
||||
# REDIS_KEY_PREFIX=infogenie:go:v1:
|
||||
# REDIS_SITE_TTL=60
|
||||
|
||||
AUTH_CENTER_API_URL=https://auth.api.shumengya.top
|
||||
INFOGENIE_SITE_ADMIN_TOKEN=
|
||||
Reference in New Issue
Block a user