Set user and group for backend and worker containers
CI / Lint & Format (push) Failing after 9s
CI / Tests (push) Has been skipped
CI / Security Scan (push) Failing after 7s
CI / Docker Build (push) Has been skipped

This commit is contained in:
2026-06-23 17:17:38 -04:00
parent 0ca35d320a
commit bc6f7f6778
+2
View File
@@ -19,6 +19,7 @@ services:
# ── API Backend ────────────────────────────────────────────
backend:
image: docker-registry.dev.home:5000/imago-backend:latest
user: "1000:1000"
ports:
- "${BACKEND_PORT:-8001}:8000"
env_file: .env
@@ -45,6 +46,7 @@ services:
# ── ARQ Worker ────────────────────────────────────────────
worker:
image: docker-registry.dev.home:5000/imago-backend:latest
user: "1000:1000"
command: python worker.py
env_file: .env
environment: