2026-06-05 22:40:04 +08:00
|
|
|
|
# Production Compose env — copy to docker/.env.prod (never commit)
|
2026-06-06 03:27:57 +08:00
|
|
|
|
# Fresh install: bash deploy/install-nexus-fresh.sh (auto-generates NEXUS keys per host)
|
|
|
|
|
|
# MySQL / Redis 不在 Docker 栈 — 请在宿主机或 1Panel 自建,安装向导步骤 3 填写
|
2026-06-05 22:40:04 +08:00
|
|
|
|
|
2026-06-06 00:25:57 +08:00
|
|
|
|
# Auto-generated on fresh install (unique per server). Do NOT copy between hosts.
|
2026-06-05 22:40:04 +08:00
|
|
|
|
NEXUS_SECRET_KEY=
|
|
|
|
|
|
NEXUS_API_KEY=
|
|
|
|
|
|
NEXUS_ENCRYPTION_KEY=
|
|
|
|
|
|
|
2026-06-06 00:25:57 +08:00
|
|
|
|
# 1 = entrypoint must not write /app/.env until install wizard step 3
|
|
|
|
|
|
NEXUS_INSTALL_WIZARD_PENDING=0
|
|
|
|
|
|
|
2026-06-05 22:40:04 +08:00
|
|
|
|
# Public URL
|
|
|
|
|
|
NEXUS_CORS_ORIGINS=https://api.synaglobal.vip
|
|
|
|
|
|
NEXUS_API_BASE_URL=https://api.synaglobal.vip
|
|
|
|
|
|
|
2026-06-06 03:27:57 +08:00
|
|
|
|
# Nexus container resource profile (docker/profiles/*.env)
|
2026-06-05 22:44:06 +08:00
|
|
|
|
NEXUS_DB_POOL_SIZE=30
|
|
|
|
|
|
NEXUS_DB_MAX_OVERFLOW=20
|
|
|
|
|
|
|
2026-06-06 05:35:04 +08:00
|
|
|
|
# 1Panel:nx update 自动探测并写入(安装向导步骤 3 预填)
|
|
|
|
|
|
# NEXUS_1PANEL_DB_HOST=1Panel-mysql-xxxx
|
|
|
|
|
|
# NEXUS_1PANEL_REDIS_HOST=1Panel-redis-xxxx
|
|
|
|
|
|
|
|
|
|
|
|
# 外置 Redis(非 1Panel 时用 host.docker.internal)
|
2026-06-06 02:48:00 +08:00
|
|
|
|
NEXUS_REDIS_URL=redis://host.docker.internal:6379/0
|
|
|
|
|
|
|
2026-06-05 22:40:04 +08:00
|
|
|
|
# Optional
|
|
|
|
|
|
# NEXUS_PUBLISH_PORT=8600
|