docker-compose.yml 381 B

12345678910111213141516171819202122
  1. service:
  2. container_name: operation_management_center
  3. image: operation_management_center:1.0.0
  4. ports:
  5. - "5000:5000"
  6. environment:
  7. - UWSGI_PROCESSES=8
  8. - UWSGI_ENABLE_THREADS=true
  9. - UWSGI_HTTP_PROCESSES=4
  10. - UWSGI_HTTP_KEEPALIVE=false
  11. - UWSGI_HARAKIRI=600
  12. - UWSGI_PY_OPTIMIZE=0
  13. volumes:
  14. - /data:/data
  15. privileged: true
  16. restart: always