Docker-in-LXC: security_opt apparmor=unconfined (all services)
This commit is contained in:
parent
ab329d497b
commit
b075975746
1 changed files with 6 additions and 0 deletions
|
|
@ -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}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue