NoNewPrivileges on most containers. drop all caps on a few others

This commit is contained in:
zenfyr 2026-01-11 14:11:56 +07:00
commit b3e4af5aca
Signed by: melontini
SSH key fingerprint: SHA256:TtcIcnTnoAB5mqHofsaOxIgiMzfVBxej1AXT7DQdrTE
36 changed files with 80 additions and 1 deletions

View file

@ -8,6 +8,9 @@ EnvironmentFile=/etc/containers/systemd/pds/.env.secrets
EnvironmentFile=/etc/containers/systemd/pds/.env
PublishPort=127.0.0.1:24318:3000
Volume=/var/containers/pds/data:/pds:Z
# Security
NoNewPrivileges=true
DropCapability=ALL
[Service]
Restart=always