-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yml
25 lines (22 loc) · 975 Bytes
/
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
version: "3.8"
networks:
traefik:
external: true
services:
blahaj-quest:
build: .
restart: always
labels:
- traefik.enable=true
- traefik.http.routers.blahaj-quest.rule=Host("blahaj.quest") || Host("www.blahaj.quest")
- traefik.http.routers.blahaj-quest.entrypoints=websecure
- traefik.http.routers.blahaj-quest.service=blahaj-quest
- traefik.http.routers.blahaj-quest.tls.certresolver=le
- traefik.http.routers.blahaj-quest.middlewares=www-to-blahaj-quest
- traefik.http.services.blahaj-quest.loadbalancer.server.port=3000
- traefik.http.middlewares.www-to-blahaj-quest.redirectregex.regex=^https?://www.blahaj.quest
- traefik.http.middlewares.www-to-blahaj-quest.redirectregex.replacement=https://blahaj.quest$${1}
- traefik.docker.network=traefik
networks:
- default
- traefik