Docker-in-LXC: security_opt apparmor=unconfined (all services)

This commit is contained in:
jtricerolph 2026-07-01 13:28:52 +00:00
parent ab329d497b
commit b075975746

View file

@ -1,6 +1,8 @@
services: services:
uptime-kuma: uptime-kuma:
image: louislam/uptime-kuma:1 image: louislam/uptime-kuma:1
security_opt:
- apparmor=unconfined
volumes: volumes:
- kuma_data:/app/data - kuma_data:/app/data
ports: ports:
@ -9,6 +11,8 @@ services:
updater: updater:
build: ./updater build: ./updater
security_opt:
- apparmor=unconfined
environment: environment:
- WEBHOOK_SECRET=${WEBHOOK_SECRET} - WEBHOOK_SECRET=${WEBHOOK_SECRET}
- SSH_KEY_PATH=/root/.ssh/id_ed25519 - SSH_KEY_PATH=/root/.ssh/id_ed25519
@ -20,6 +24,8 @@ services:
backup: backup:
image: postgres:16-alpine image: postgres:16-alpine
security_opt:
- apparmor=unconfined
entrypoint: ["/bin/sh", "-c", "crond -f -l 8"] entrypoint: ["/bin/sh", "-c", "crond -f -l 8"]
environment: environment:
- BACKUP_DATABASES=${BACKUP_DATABASES} - BACKUP_DATABASES=${BACKUP_DATABASES}