-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.custom.yml
34 lines (29 loc) · 1.45 KB
/
docker-compose.custom.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
# Config override for deployment
services:
api:
environment:
- ASPNETCORE_ENVIRONMENT=Production
volumes:
- ./keys:/testkeys:ro
- ./keys:/keys:ro
labels:
- "traefik.enable=true"
- "traefik.docker.network=web"
- "traefik.http.routers.wom-registry-api.rule=Host(`wom.social`) && PathPrefix(`/api`)"
- "traefik.http.routers.wom-registry-api.entrypoints=web,websecure"
- "traefik.http.routers.wom-registry-api.middlewares=wom-registry-api-strip"
- "traefik.http.middlewares.wom-registry-api-strip.stripprefix.prefixes=/api"
- "traefik.http.middlewares.wom-registry-api-strip.stripprefix.forceslash=false"
- "traefik.http.routers.wom-landing-api.rule=Host(`wom.social`) && (PathPrefix(`/payment`) || PathPrefix(`/vouchers`) || PathPrefix(`/migration`))"
- "traefik.http.routers.wom-landing-api.entrypoints=websecure"
restart: unless-stopped
well-known:
labels:
- "traefik.enable=true"
- "traefik.docker.network=web"
- "traefik.http.routers.wom-registry-wellknown.rule=Host(`wom.social`) && PathPrefix(`/.well-known`)"
- "traefik.http.routers.wom-registry-wellknown.entrypoints=websecure"
- "traefik.http.routers.wom-registry-wellknown.middlewares=wom-registry-wellknown-strip"
- "traefik.http.middlewares.wom-registry-wellknown-strip.stripprefix.prefixes=/.well-known"
- "traefik.http.middlewares.wom-registry-wellknown-strip.stripprefix.forceslash=false"
restart: unless-stopped