-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
36 lines (33 loc) · 1.35 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
version: '3.3'
services:
gdscnsoil:
image: sc-registry.fredhutch.org/gdscnsoil:latest
networks:
- proxy
deploy:
restart_policy:
condition: on-failure
labels:
- "traefik.enable=true"
- "traefik.http.routers.gdscnsoil.rule=Host(`biodigs.org`)"
- "traefik.http.routers.gdscnsoil-secured.rule=Host(`biodigs.org`)"
- "traefik.http.routers.gdscnsoil.entrypoints=web,web-secured"
- "traefik.http.services.gdscnsoil.loadbalancer.server.port=3838" # it seems you always need to give traefik a port so it 'notices' the service
- "traefik.http.routers.gdscnsoil.tls=true"
redirect:
image: sc-registry.fredhutch.org/gdscnsoil-redirect:latest
networks:
- proxy
deploy:
restart_policy:
condition: on-failure
labels:
- "traefik.enable=true"
- "traefik.http.routers.biodigs_redirect.rule=Host(`gdscnsoil.fredhutch.org`)"
- "traefik.http.routers.biodigs_redirect-secured.rule=Host(`gdscnsoil.fredhutch.org`)"
- "traefik.http.routers.biodigs_redirect.entrypoints=web,web-secured"
- "traefik.http.services.biodigs_redirect.loadbalancer.server.port=80" # it seems you always need to give traefik a port so it 'notices' the service
- "traefik.http.routers.biodigs_redirect.tls=true"
networks:
proxy:
external: true