services: tax-calc: build: . container_name: tax-calc restart: unless-stopped ports: - "127.0.0.1:3005:80" # Port 3005 following the web apps allocation strategy networks: - web labels: - "traefik.enable=true" - "traefik.http.routers.tax-calc.rule=Host(`car-tax-be.gm-tech.org`)" - "traefik.http.routers.tax-calc.entrypoints=websecure" - "traefik.http.routers.tax-calc.tls=true" - "traefik.http.routers.tax-calc.tls.certresolver=myresolver" - "traefik.http.services.tax-calc.loadbalancer.server.port=80" - "traefik.docker.network=web" networks: web: external: true