ci(build): target .NET 10 Alpine with low-memory tuning
Some checks failed
Caddy Manager CI build / docker (push) Failing after 32s

This commit is contained in:
2026-07-26 16:15:00 +07:00
parent 7380680230
commit 96f0112449
7 changed files with 43 additions and 6 deletions

View File

@@ -163,6 +163,10 @@ services:
DockerService__CaddyConfigPathInContainer: "/etc/caddy/Caddyfile"
# To have the access to the caddy config file
user: "1000:1000"
# The .NET GC sizes its heap against the cgroup limit, so this both caps the worst
# case and makes the runtime self-tune downward. Raise it if you run many configs.
mem_limit: 256m
memswap_limit: 256m
ports:
- "8080:8080"
volumes: