version: "3.8" networks: traefik-network: external: true services: web-service: image: docker.io/hyunghwan/hio:webs hostname: web-service-host networks: - traefik-network volumes: - type: bind source: /home/gfs-data/web target: /data #read_only: true read_only: false deploy: mode: global resources: limits: memory: 128MB restart_policy: condition: on-failure labels: - traefik.enable=true ##- traefik.docker.network=traefik-network - traefik.http.routers.doc-engr.entrypoints=websec - traefik.http.routers.doc-engr.rule=Host(`miflux.com`) - traefik.http.routers.doc-engr.tls=true - traefik.http.routers.doc-www-engr.entrypoints=websec - traefik.http.routers.doc-www-engr.rule=Host(`www.miflux.com`) - traefik.http.routers.doc-www-engr.tls=true - traefik.http.services.web-service.loadbalancer.server.port=80 ##- traefik.http.services.web-service.loadbalancer.sticky.cookie=true ##- traefik.http.services.web-service.loadbalancer.sticky.cookie.name=doc-sticker