docker-compose.production.yml 870 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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