docker-compose-pre.yml 722 B

123456789101112131415161718192021222324
  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. volumes:
  11. - /home/docker/tl/config/web/_app.config.js:/usr/share/nginx/html/_app.config.js
  12. ports:
  13. - 8002:80
  14. networks:
  15. - tl_bx_default
  16. labels:
  17. - 'traefik.http.routers.tl_admin_web.rule=Host(`test.tl.web.yingcaibx.com`)'
  18. - 'traefik.http.routers.tl_admin_web.entrypoints=websecure'
  19. - 'traefik.http.routers.tl_admin_web.tls.certresolver=yxt'
  20. networks:
  21. tl_bx_default:
  22. external: true