version: '3.4' services: moo-production: build: context: . target: production image: gitlab.rc.uab.edu:4567/center-for-computational-genomics-and-data-science/manual-of-operations:v0.1 deploy: labels: - "traefik.enable=true" - "traefik.docker.network=traefik-public" - "traefik.docker.lbswarm=true" - "traefik.http.routers.moo-production.rule=PathPrefix(`/manual-of-operations`)" - "traefik.http.routers.moo-production.service=moo-production" - "traefik.http.routers.moo-production.middlewares=moo-strip-prefix" - "traefik.http.middlewares.moo-strip-prefix.stripprefix.prefixes=/manual-of-operations" - "traefik.http.services.moo-production.loadbalancer.server.port=80" networks: - traefik networks: traefik: external: name: traefik-public