5
0

docker-compose.yml 924 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. service:
  2. container_name: sky_stareath_tiler
  3. image: sky_stareath_tiler: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_TIMEOUT=600
  13. - UWSGI_PY_OPTIMIZE=0
  14. volumes:
  15. - /data/sky_stareath_tiler/logs:/data/logs # 日志
  16. - /data/sky_stareath_tiler/tif:/data/tif # 影像数据目录
  17. - /data/sky_stareath_tiler/tileset:/data/tileset # 3Dtiles数据目录
  18. - /data/sky_stareath_tiler/output:/data/output # 切片输出目录
  19. - ./config:/work/sky_stareath_tiler/config # 配置文件目录,包括软件配置信息
  20. privileged: true
  21. restart: always
  22. redis:
  23. image: docker.jcing.com/centos7_redis
  24. container_name: slice_redis_test
  25. ports:
  26. - "6379:6379"
  27. volumes:
  28. - /data/sky_stareath_tiler/redis:/data/
  29. restart: always