docker-compose-v3.yml 629 B

1234567891011121314151617181920212223242526
  1. version: '3'
  2. services:
  3. sky-gistools-server:
  4. container_name: coordinate_transformation
  5. image: coordinate_transformation: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. - ./config:/work/coordinate_transformation/config # 配置文件目录,包括软件配置信息
  19. privileged: true
  20. restart: always