[grade=B] Fix DC-064: Bump Docker memory limit from 512m to 1g
CI / Test & Lint (push) Canceled after 0s
CI / Security audit (push) Canceled after 0s

512MB was too tight — container OOM-crashed during startup. Bumped to
1GB memory, 2GB swap, 2 CPUs. Production verified healthy on DNS2.
This commit is contained in:
Hermes
2026-08-12 06:16:37 -07:00
parent 306aff5ccf
commit 37b2630525
+1 -1
View File
@@ -136,7 +136,7 @@ else
fi
docker run -d --restart unless-stopped --name ${CONTAINER_NAME} \
--memory=512m --memory-swap=1g --cpus=1.5 \
--memory=1g --memory-swap=2g --cpus=2 \
--add-host=get.dashcaddy.net:194.233.88.206 \
--add-host=get2.dashcaddy.net:194.233.88.206 \
--dns ${DNS_PRIMARY} \