-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.prod.yml
62 lines (53 loc) · 2.23 KB
/
docker-compose.prod.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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
version: "3.5"
services:
darkboard-v1-server:
# Container config
build:
context: server
container_name: darkboard-v1-server
restart: unless-stopped
# Networking
networks:
- darkboard-v1
- traefik-proxy
# Keep container running
stdin_open: true
labels:
# Traeffik Router labels.
traefik.enable: "true"
traefik.docker.network: "traefik-proxy"
traefik.http.routers.darkboard-v1-server.entrypoints: "socket"
traefik.http.routers.darkboard-v1-server.rule: "Host(`darkboard-v1.dark-echoes.de`)"
traefik.http.routers.darkboard-v1-server.tls: "true"
traefik.http.routers.darkboard-v1-server.tls.certresolver: "lets-encrypt"
traefik.http.routers.darkboard-v1-server.tls.domains[0].main: "dark-echoes.de"
traefik.http.routers.darkboard-v1-server.tls.domains[0].sans: "darkboard-v1.dark-echoes.de"
traefik.http.services.darkboard-v1-server.loadbalancer.server.port: "2567"
darkboard-v1-frontend:
# Container config
build:
context: app
container_name: darkboard-v1-frontend
restart: unless-stopped
networks:
- darkboard-v1
- traefik-proxy
# Keep container running
stdin_open: true
labels:
# Traeffik Router labels.
traefik.enable: "true"
traefik.docker.network: "traefik-proxy"
traefik.http.routers.darkboard-v1-frontend.entrypoints: "https"
traefik.http.routers.darkboard-v1-frontend.rule: "Host(`darkboard-v1.dark-echoes.de`)"
traefik.http.routers.darkboard-v1-frontend.tls: "true"
traefik.http.routers.darkboard-v1-frontend.tls.certresolver: "lets-encrypt"
traefik.http.routers.darkboard-v1-frontend.tls.domains[0].main: "dark-echoes.de"
traefik.http.routers.darkboard-v1-frontend.tls.domains[0].sans: "darkboard-v1.dark-echoes.de"
traefik.http.services.darkboard-v1-frontend.loadbalancer.server.port: "80"
networks:
darkboard-v1:
name: darkboard-v1
traefik-proxy:
external:
name: traefik-proxy