docker-compose.yml 1.2 KB

1234567891011121314151617181920212223242526272829303132
  1. service:
  2. container_name: proxy_nginx_server
  3. image: proxy_nginx_server:1.0.0
  4. ports:
  5. - "5000:5000"
  6. environment:
  7. - UWSGI_PROCESSES=4
  8. - UWSGI_ENABLE_THREADS=true
  9. - UWSGI_HTTP_PROCESSES=2
  10. - UWSGI_HTTP_KEEPALIVE=false
  11. - UWSGI_HARAKIRI=20
  12. - UWSGI_PY_OPTIMIZE=0
  13. # 代理服务地址
  14. - NatGeo_World_Map=https://server.arcgisonline.com/arcgis/rest/services/NatGeo_World_Map/MapServer
  15. - USA_Topo_Maps=https://server.arcgisonline.com/arcgis/rest/services/USA_Topo_Maps/MapServer
  16. - World_Imagery=https://server.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer
  17. - World_Physical_Map=https://server.arcgisonline.com/arcgis/rest/services/World_Physical_Map/MapServer
  18. - World_Shaded_Relief=https://server.arcgisonline.com/arcgis/rest/services/World_Shaded_Relief/MapServer
  19. - World_Street_Map=https://server.arcgisonline.com/arcgis/rest/services/World_Street_Map/MapServer
  20. - World_Terrain_Base=https://server.arcgisonline.com/arcgis/rest/services/World_Terrain_Base/MapServer
  21. - World_Topo_Map=https://server.arcgisonline.com/arcgis/rest/services/World_Topo_Map/MapServer
  22. - 3DModel=http://192.168.1.1:80/3DTiles/qp/QPXZFWZX/JJ
  23. volumes:
  24. - D:\data/logs:/data/logs
  25. privileged: true
  26. restart: always