docker-compose.yml 538 B

12345678910111213141516171819202122232425262728293031
  1. version: '3'
  2. services:
  3. web:
  4. build:
  5. context: ../
  6. dockerfile: ./Dockerfile
  7. image: registry.cn-beijing.aliyuncs.com/dc3/iot-dc3-web:2023.4.0.dev
  8. restart: always
  9. ports:
  10. - 8080:80
  11. - 443:443
  12. environment:
  13. - APP_API_PATH=dc3-gateway
  14. - APP_API_PORT=8000
  15. container_name: iot-dc3-web
  16. hostname: iot-dc3-web
  17. volumes:
  18. - nginx:/var/log/nginx
  19. networks:
  20. dc3net:
  21. aliases:
  22. - iot-dc3-web
  23. volumes:
  24. nginx:
  25. networks:
  26. dc3net:
  27. driver: 'bridge'
  28. ...