docker-compose-v3.yml 668 B

123456789101112131415161718192021222324252627
  1. version: '3'
  2. services:
  3. sky-gistools-server:
  4. container_name: operation_management_center
  5. image: operation_management_center:1.0.0
  6. ports:
  7. - "5000:5000"
  8. environment:
  9. - UWSGI_PROCESSES=8
  10. - UWSGI_ENABLE_THREADS=true
  11. - UWSGI_HTTP_PROCESSES=4
  12. - UWSGI_HTTP_KEEPALIVE=false
  13. - UWSGI_HARAKIRI=600
  14. - UWSGI_TIMEOUT=600
  15. - UWSGI_PY_OPTIMIZE=0
  16. volumes:
  17. - /data/logs:/data/logs # 日志
  18. - /data/files:/data/files
  19. - ./config:/work/operation_management_center/config # 配置文件目录,包括软件配置信息
  20. privileged: true
  21. restart: always