Browse Source

feat(celery): drop privileges / run as nobody

Peter Thomassen 5 years ago
parent
commit
86e40369fc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docker-compose.yml

+ 1 - 1
docker-compose.yml

@@ -214,7 +214,7 @@ services:
     build: api
     image: desec/dedyn-api:latest
     init: true
-    command: celery -A api worker -l info
+    command: celery -A api worker -l info --uid nobody --gid nogroup
     depends_on:
     - dbapi
     - nslord