3
0
Fork 0

add security_opt

This commit is contained in:
Ilya Mukhortov 2026-07-20 19:20:13 +10:00
parent 84e7df9af9
commit a22889d6ae
1 changed files with 4 additions and 0 deletions

View File

@ -8,6 +8,8 @@ services:
container_name: medicine-app container_name: medicine-app
restart: "always" restart: "always"
env_file: .env env_file: .env
security_opt:
- seccomp:unconfined
environment: environment:
UWSGI_PROCESSES: ${UWSGI_PROCESSES:-2} UWSGI_PROCESSES: ${UWSGI_PROCESSES:-2}
UWSGI_THREADS: ${UWSGI_THREADS:-4} UWSGI_THREADS: ${UWSGI_THREADS:-4}
@ -37,6 +39,8 @@ services:
restart: "always" restart: "always"
command: /usr/bin/supervisord -c /etc/supervisor/conf.d/supervisord-tasks.conf command: /usr/bin/supervisord -c /etc/supervisor/conf.d/supervisord-tasks.conf
env_file: .env env_file: .env
security_opt:
- seccomp:unconfined
environment: environment:
CELERY_WORKER_CONCURRENCY: ${CELERY_WORKER_CONCURRENCY:-2} CELERY_WORKER_CONCURRENCY: ${CELERY_WORKER_CONCURRENCY:-2}
volumes: volumes: