diff --git a/docker-compose.yml b/docker-compose.yml index 1cd87ad93..6184b2683 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,4 +1,3 @@ -version: '3.8' # Shared configuration for all environments x-base-config: &base-config @@ -24,7 +23,6 @@ x-base-config: &base-config - ALL security_opt: - no-new-privileges:true - pids_limit: 512 # Read-only root filesystem; only these paths are writable (tmpfs). read_only: true tmpfs: @@ -39,6 +37,7 @@ x-base-config: &base-config resources: limits: memory: 4G + pids: 512 reservations: memory: 1G restart: unless-stopped