service: container_name: sky_stareath_tiler image: sky_stareath_tiler:1.0.0 ports: - "5000:5000" environment: - UWSGI_PROCESSES=8 - UWSGI_ENABLE_THREADS=true - UWSGI_HTTP_PROCESSES=4 - UWSGI_HTTP_KEEPALIVE=false - UWSGI_HARAKIRI=600 - UWSGI_TIMEOUT=600 - UWSGI_PY_OPTIMIZE=0 volumes: - /data/sky_stareath_tiler/logs:/data/logs # 日志 - /data/sky_stareath_tiler/tif:/data/tif # 影像数据目录 - /data/sky_stareath_tiler/tileset:/data/tileset # 3Dtiles数据目录 - /data/sky_stareath_tiler/output:/data/output # 切片输出目录 - ./config:/work/sky_stareath_tiler/config # 配置文件目录,包括软件配置信息 privileged: true restart: always redis: image: docker.jcing.com/centos7_redis container_name: slice_redis_test ports: - "6379:6379" volumes: - /data/sky_stareath_tiler/redis:/data/ restart: always