-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
48 lines (45 loc) · 2.57 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
41
42
43
44
45
46
47
48
version: '3.8'
services:
jekyll-host:
image: container.ldtteam.com/parchmentmc/smithingtable:latest
networks:
- traefik-public
deploy:
mode: replicated
replicas: 2
placement:
max_replicas_per_node: 1
constraints:
- node.labels.system==production
- node.labels.type==worker
- node.labels.web==true
labels:
- traefik.enable=true
- traefik.constraint-label=traefik-public
- traefik.docker.network=traefik-public
- traefik.http.middlewares.https-redirect.redirectscheme.scheme=https
- traefik.http.middlewares.https-redirect.redirectscheme.permanent=true
- traefik.http.routers.versioning-parchmentmc-org-http.rule=Host(`versioning.parchmentmc.org`)
- traefik.http.routers.versioning-parchmentmc-org-http.entrypoints=http
- traefik.http.routers.versioning-parchmentmc-org-http.middlewares=https-redirect
- traefik.http.routers.versioning-parchmentmc-org-https.rule=Host(`versioning.parchmentmc.org`)
- traefik.http.routers.versioning-parchmentmc-org-https.entrypoints=https
- traefik.http.routers.versioning-parchmentmc-org-https.tls=true
- traefik.http.routers.versioning-parchmentmc-org-https.service=versioning-parchmentmc
- traefik.http.routers.versioning-parchmentmc-org-https.tls.certresolver=le
- traefik.http.services.versioning-parchmentmc.loadbalancer.server.port=80
- traefik.http.services.versioning-parchmentmc.loadBalancer.sticky.cookie.name=parchment-versioning
- traefik.http.services.versioning-parchmentmc.loadBalancer.sticky.cookie.secure=true
- traefik.http.services.versioning-parchmentmc.loadBalancer.sticky.cookie.httpOnly=true
- traefik.http.services.versioning-parchmentmc.loadBalancer.sticky.cookie.sameSite=none
- traefik.http.routers.versioning-parchmentmc-net-http.rule=Host(`versioning.parchmentmc.net`)
- traefik.http.routers.versioning-parchmentmc-net-http.entrypoints=http
- traefik.http.routers.versioning-parchmentmc-net-http.middlewares=https-redirect
- traefik.http.routers.versioning-parchmentmc-net-https.rule=Host(`versioning.parchmentmc.net`)
- traefik.http.routers.versioning-parchmentmc-net-https.entrypoints=https
- traefik.http.routers.versioning-parchmentmc-net-https.tls=true
- traefik.http.routers.versioning-parchmentmc-net-https.service=versioning-parchmentmc
- traefik.http.routers.versioning-parchmentmc-net-https.tls.certresolver=le
networks:
traefik-public:
external: true