fix: remove sysctls from caddy - net.core.* not namespace-safe

net.core.rmem_max/wmem_max are not namespaced sysctls and cannot
be set in unprivileged containers. These values are already set
on the host via sysctl role (64MB) and inherited by containers.
This commit is contained in:
sascha 2026-04-07 06:46:16 +02:00
parent 8332a45b5b
commit 23af3177e8

View file

@ -8,9 +8,6 @@ services:
image: caddy image: caddy
container_name: caddy container_name: caddy
restart: unless-stopped restart: unless-stopped
sysctls:
- net.core.rmem_max=67108864
- net.core.wmem_max=67108864
extra_hosts: extra_hosts:
- "host.docker.internal:host-gateway" - "host.docker.internal:host-gateway"
networks: networks: