Files
InfoGenie/infogenie-backend-go/.env.production.example

24 lines
757 B
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 复制为 .env.production 后按需填写(勿提交真实密钥)
APP_ENV=production
APP_PORT=5002
# ===== MySQL容器内访问宿主机时勿用 127.0.0.1=====
# 例:宿主机 MySQL 监听 3306 → DB_HOST=172.17.0.1Linux 默认网桥)或宿主机局域网 IP
# Docker DesktopWindows/MacDB_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=