f37ebf8621
Production installs now run only the Nexus container; MySQL and Redis are self-hosted on the machine or 1Panel, with install wizard defaults pointing at host.docker.internal. Co-authored-by: Cursor <cursoragent@cursor.com>
26 lines
911 B
Bash
26 lines
911 B
Bash
# Production Compose env — copy to docker/.env.prod (never commit)
|
|
# Fresh install: bash deploy/install-nexus-fresh.sh (auto-generates NEXUS keys per host)
|
|
# MySQL / Redis 不在 Docker 栈 — 请在宿主机或 1Panel 自建,安装向导步骤 3 填写
|
|
|
|
# Auto-generated on fresh install (unique per server). Do NOT copy between hosts.
|
|
NEXUS_SECRET_KEY=
|
|
NEXUS_API_KEY=
|
|
NEXUS_ENCRYPTION_KEY=
|
|
|
|
# 1 = entrypoint must not write /app/.env until install wizard step 3
|
|
NEXUS_INSTALL_WIZARD_PENDING=0
|
|
|
|
# Public URL
|
|
NEXUS_CORS_ORIGINS=https://api.synaglobal.vip
|
|
NEXUS_API_BASE_URL=https://api.synaglobal.vip
|
|
|
|
# Nexus container resource profile (docker/profiles/*.env)
|
|
NEXUS_DB_POOL_SIZE=30
|
|
NEXUS_DB_MAX_OVERFLOW=20
|
|
|
|
# 外置 Redis(宿主机/1Panel),Nexus 容器经 host.docker.internal 访问
|
|
NEXUS_REDIS_URL=redis://host.docker.internal:6379/0
|
|
|
|
# Optional
|
|
# NEXUS_PUBLISH_PORT=8600
|