docker-compose.yaml 355 B

12345678910111213141516171819
  1. version: '3'
  2. services:
  3. pigx-ui:
  4. build:
  5. context: .
  6. restart: always
  7. container_name: pigx-ui
  8. image: pigx-ui
  9. networks:
  10. - pigx_default
  11. external_links:
  12. - pigx-gateway
  13. ports:
  14. - 80:80
  15. # 加入到后端网络, 默认为 pigx_default | docker network ls 查看
  16. networks:
  17. pigx_default:
  18. external: true