From ced832d3593b7924bc87a5c02261174fb0f7ba02 Mon Sep 17 00:00:00 2001 From: Bensuperpc Date: Sat, 18 May 2024 18:34:49 +0200 Subject: [PATCH] Change settings Signed-off-by: Bensuperpc --- docker-compose.backup.yml | 2 ++ docker-compose.caddy.yml | 11 +++-------- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/docker-compose.backup.yml b/docker-compose.backup.yml index 5eeec4d..e4039db 100644 --- a/docker-compose.backup.yml +++ b/docker-compose.backup.yml @@ -22,6 +22,8 @@ services: # - qbittorrent_config:/data/qbittorrent_config:ro # - qbittorrent_data:/data/qbittorrent_data:ro # - uptimekuma_data:/data/uptimekuma_data:ro + networks: + - infra-network security_opt: - no-new-privileges:true diff --git a/docker-compose.caddy.yml b/docker-compose.caddy.yml index dfe017d..727926d 100644 --- a/docker-compose.caddy.yml +++ b/docker-compose.caddy.yml @@ -20,15 +20,10 @@ services: - env/caddy.env security_opt: - no-new-privileges:true - cap_drop: - - ALL + #cap_drop: + # - ALL cap_add: -# - CHOWN -# - FOWNER -# - DAC_OVERRIDE -# - SETGID -# - SETUID - - NET_BIND_SERVICE + - NET_ADMIN healthcheck: test: pidof caddy || exit 1 interval: 120s