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/aode/.env.secrets
EnvironmentFile=/etc/containers/systemd/aode/.env
PublishPort=127.0.0.1:19438:8080
Volume=/var/containers/aode/data:/db:Z
# Security
NoNewPrivileges=true
DropCapability=ALL
[Service]
Restart=always