add security_opt
This commit is contained in:
parent
84e7df9af9
commit
a22889d6ae
|
|
@ -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:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue