-
Notifications
You must be signed in to change notification settings - Fork 7
/
docker-compose.prod.yml
62 lines (54 loc) · 1.41 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'
services:
redis:
image: redis:alpine
expose:
- 6379
restart: always
environment:
- REDIS_REPLICATION_MODE=master
networks:
- default
backend:
image: docker.dev.54gradsoftware.dev/54gradsoftware/gfc-backend
restart: always
links:
- redis
depends_on:
- redis
networks:
- default
worker:
image: docker.dev.54gradsoftware.dev/54gradsoftware/gfc-worker
restart: always
links:
- redis
depends_on:
- redis
networks:
- default
frontend:
image: docker.dev.54gradsoftware.dev/54gradsoftware/gfc-frontend
links:
- backend
depends_on:
- backend
networks:
- web
- default
labels:
- "traefik.enable=true"
- "traefik.http.routers.gfcHttp.rule=Host(`google-fonts-checker.54gradsoftware.de`)"
- "traefik.http.routers.gfcHttp.entrypoints=http"
- "traefik.http.routers.gfcHttp.middlewares=redirecttls"
- "traefik.http.middlewares.redirecttls.redirectscheme.scheme=https"
- "traefik.http.routers.gfc.rule=Host(`google-fonts-checker.54gradsoftware.de`)"
- "traefik.http.routers.gfc.entrypoints=https"
- "traefik.http.services.gfc.loadbalancer.server.port=8080"
- "traefik.http.routers.gfc.tls.certresolver=mytlschallenge"
- "traefik.docker.network=web"
networks:
web:
external: true
default:
external: false