docker-compose-dev.yaml 531 B

1234567891011121314151617181920212223
  1. ## 以nginx为基础镜像,方便调试,或者直接使用nginx容器
  2. version: "3"
  3. services:
  4. nginx-with-ui:
  5. build:
  6. context: ./
  7. dockerfile: docker/Dockerfile-with-nginx
  8. environment:
  9. - DOCKER_BUILDKIT=1
  10. image: tuonina/nginx-with-ui
  11. restart: always
  12. container_name: nginx-with-ui
  13. ports:
  14. - 8081:8080
  15. - 9090:9090
  16. - 9080:80
  17. - 9443:443
  18. # network_mode: host
  19. volumes:
  20. - ./docker/data:/app/data
  21. - ./docker/data/conf:/app/conf