version: '3' services: tl_admin_web: build: context: . dockerfile: Dockerfile image: registry.yingcaibx.com/tl/admin_web:latest restart: always container_name: tl_admin_web volumes: - /home/docker/tl/config/web/_app.config.js:/usr/share/nginx/html/_app.config.js ports: - 8002:80 networks: - tl_bx_default labels: - 'traefik.http.routers.tl_admin_web.rule=Host(`test.tl.web.yingcaibx.com`)' - 'traefik.http.routers.tl_admin_web.entrypoints=websecure' - 'traefik.http.routers.tl_admin_web.tls.certresolver=yxt' networks: tl_bx_default: external: true