-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
29 lines (25 loc) · 1.05 KB
/
docker-compose.yml
File metadata and controls
29 lines (25 loc) · 1.05 KB
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
networks:
web:
external: true
services:
website:
build: ./src/Website
networks:
- web
expose:
- "80"
labels:
- "traefik.enable=true"
- "traefik.docker.network=web"
- "traefik.http.routers.wom-web.rule=Host(`wom.social`)"
- "traefik.http.routers.wom-web.entrypoints=websecure"
- "traefik.http.routers.wom-web-insecure.rule=Host(`wom.social`)"
- "traefik.http.routers.wom-web-insecure.entrypoints=web"
- "traefik.http.routers.wom-web-insecure.middlewares=wom-web-redirect"
- "traefik.http.middlewares.wom-web-redirect.redirectscheme.scheme=https"
- "traefik.http.middlewares.wom-web-redirect.redirectscheme.permanent=true"
- "traefik.http.routers.wom-web-www.rule=Host(`www.wom.social`)"
- "traefik.http.routers.wom-web-www.middlewares=wom-web-www-redirect"
- "traefik.http.middlewares.wom-web-www-redirect.redirectregex.regex=^https?://www.wom.social/(.*)"
- "traefik.http.middlewares.wom-web-www-redirect.redirectregex.replacement=https://wom.social/$${1}"
restart: unless-stopped