demo01/compose-demo01-jib.yml

29 lines
882 B
YAML

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