chore(docker): tune production stack for 2C8G hosts
Nexus CI/CD / test (push) Waiting to run
Nexus CI/CD / deploy (push) Blocked by required conditions
Nexus Pre-commit Checks / quick-check (push) Waiting to run

Add mysql-prod-2c8g.cnf, container mem/cpu limits, Redis maxmemory,
and default Nexus pool 30/20 for 8GiB 1Panel deployments.
This commit is contained in:
Nexus Deploy
2026-06-05 22:44:06 +08:00
parent 2f67e9e2b9
commit bfda70bbe7
6 changed files with 89 additions and 1 deletions
+4
View File
@@ -13,5 +13,9 @@ NEXUS_ENCRYPTION_KEY=
NEXUS_CORS_ORIGINS=https://api.synaglobal.vip
NEXUS_API_BASE_URL=https://api.synaglobal.vip
# 2 vCPU / 8 GiB host (matches docker/mysql-prod-2c8g.cnf + compose limits)
NEXUS_DB_POOL_SIZE=30
NEXUS_DB_MAX_OVERFLOW=20
# Optional
# NEXUS_PUBLISH_PORT=8600