When performing actions from the user panel (like adding a domain) that require the web server to reload, we usually run:
docker --context=default exec caddy sh -c "caddy validate && caddy reload"
If Caddy doesn’t have enough resources (e.g., memory), the command may output Killed and lead to downtime.
Workaround:
- Check resource usage with:
docker stats
- If Caddy is hitting its limits, increase them via OpenAdmin → Services → Limits.
- Then restart the service to apply changes:
cd /root && docker compose down caddy && docker compose up -d caddy
This ensures Caddy has enough resources and prevents unexpected downtime during reloads.