docker-compose-dev.yml 628 B

12345678910111213141516171819202122
  1. version: '3'
  2. services:
  3. tl_admin_web:
  4. build:
  5. context: .
  6. dockerfile: Dockerfile
  7. image: registry.yingcaibx.com/tl/admin_web:latest
  8. restart: always
  9. container_name: tl_admin_web
  10. ports:
  11. - 8002:80
  12. networks:
  13. - dockertest_bx_default
  14. labels:
  15. - 'traefik.http.routers.tl_admin_web.rule=Host(`test.tl.web.yingcaibx.com`)'
  16. - 'traefik.http.routers.tl_admin_web.entrypoints=websecure'
  17. - 'traefik.http.routers.tl_admin_web.tls.certresolver=yxt'
  18. networks:
  19. dockertest_bx_default:
  20. external: true