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

This commit is contained in:
jtricerolph 2026-07-01 13:28:53 +00:00
parent 803c92ec63
commit 11de77ea76

View file

@ -1,6 +1,8 @@
services: services:
backend: backend:
build: ./backend build: ./backend
security_opt:
- apparmor=unconfined
environment: environment:
- DATABASE_URL=${DATABASE_URL} - DATABASE_URL=${DATABASE_URL}
- CENTRAL_AUTH_SECRET=${CENTRAL_AUTH_SECRET} - CENTRAL_AUTH_SECRET=${CENTRAL_AUTH_SECRET}
@ -15,6 +17,8 @@ services:
frontend: frontend:
build: ./frontend build: ./frontend
security_opt:
- apparmor=unconfined
ports: ports:
- "${FRONTEND_PORT:-3080}:80" - "${FRONTEND_PORT:-3080}:80"
depends_on: depends_on: