-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
40 lines (34 loc) · 1.82 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
37
38
39
40
networks:
traefik:
external: true
services:
maki-cafe:
build: .
restart: always
labels:
- traefik.enable=true
- >
traefik.http.routers.maki-cafe.rule=
Host(`maki.cafe`) || Host(`www.maki.cafe`) ||
Host(`makidoll.io`) || Host(`www.makidoll.io`) ||
Host(`makidrone.io`) || Host(`www.makidrone.io`)
- traefik.http.routers.maki-cafe.entrypoints=websecure
- traefik.http.routers.maki-cafe.service=maki-cafe
- traefik.http.routers.maki-cafe.middlewares=www-to-maki-cafe,makidoll-redirect,makidrone-redirect
- traefik.http.routers.maki-cafe.tls.certResolver=le
- traefik.http.services.maki-cafe.loadbalancer.server.port=3000
- traefik.http.middlewares.www-to-maki-cafe.redirectregex.regex=^https?://(?:www\.)?(.+)
- traefik.http.middlewares.www-to-maki-cafe.redirectregex.replacement=https://$${1}
- traefik.http.middlewares.www-to-maki-cafe.redirectregex.permanent=true
- traefik.http.middlewares.makidoll-redirect.redirectregex.regex=^https?://(?:www\.)?makidoll.io(.+)
- traefik.http.middlewares.makidoll-redirect.redirectregex.replacement=https://maki.cafe$${1}
- traefik.http.middlewares.makidoll-redirect.redirectregex.permanent=false
- traefik.http.middlewares.makidrone-redirect.redirectregex.regex=^https?://(?:www\.)?makidrone.io(.+)
- traefik.http.middlewares.makidrone-redirect.redirectregex.replacement=https://maki.cafe$${1}
- traefik.http.middlewares.makidrone-redirect.redirectregex.permanent=false
- traefik.docker.network=traefik
volumes:
- ./cache:/app/cache
networks:
- default
- traefik