version: '3.9' name: demo01-jvm services: demo01-jvm: image: svn.youshengyun.com:9924/demo01-jvm:1.0 container_name: demo01-jvm restart: unless-stopped extra_hosts: - "host.docker.internal:host-gateway" networks: - y9-share-net ports: - "17055:7055" environment: 'server.servlet.context-path': '/demo02' labels: - "traefik.enable=true" - "traefik.http.routers.demo02.entrypoints=web" - "traefik.http.routers.demo02.rule=PathPrefix(`/demo02`)" #- "traefik.http.services.demo01.loadbalancer.server.scheme=http" #- "traefik.http.services.demo01.loadbalancer.server.port=7055" #- "traefik.docker.network=y9-share-net" networks: y9-share-net: external: true