-
Notifications
You must be signed in to change notification settings - Fork 0
/
prod.yml
106 lines (94 loc) · 2.44 KB
/
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
version: '2'
services:
proxy:
image: traefik:v1.2.0-rc1
ports:
- "80:80"
- "443:443"
volumes:
- "./proxy/prod.toml:/etc/traefik/traefik.toml"
- "/data/acme:/etc/traefik/acme"
gateway:
image: traefik:v1.1.2
ports:
- "8888:8888"
volumes:
- "./gateway/prod.toml:/etc/traefik/traefik.toml"
- "/var/run/docker.sock:/var/run/docker.sock"
labels:
- "traefik.backend=gateway"
redis:
image: redis:2.8.19
ports:
- 6379:6379
broadcaster:
build:
context: ./broadcaster
labels:
- "traefik.frontend.rule=PathPrefixStrip:/broadcaster"
- "traefik.port=9400"
- "traefik.backend=broadcaster"
data-service:
build:
context: ./data-service
labels:
- "traefik.frontend.rule=PathPrefixStrip:/data-service"
- "traefik.port=3721"
- "traefik.backend=data-service"
delivery:
build:
context: ./delivery
labels:
- "traefik.frontend.rule=PathPrefixStrip:/delivery"
- "traefik.port=3000"
- "traefik.backend=delivery"
frontend:
image: nginx:1.11.8-alpine
ports:
- "8080:80"
volumes:
- "./frontend/index.html:/usr/share/nginx/html/index.html"
- "./frontend/dist:/usr/share/nginx/html/dist"
labels:
- "traefik.frontend.rule=PathPrefixStrip:/frontend"
- "traefik.port=80"
- "traefik.backend=frontend"
games:
build:
context: ./gamemanager
environment:
- SITE_BASE_URL=https://curling.goforecrew.com
labels:
- "traefik.frontend.rule=PathPrefixStrip:/games"
- "traefik.port=5000"
- "traefik.backend=games"
scores:
build:
context: ./scores
labels:
- "traefik.frontend.rule=PathPrefixStrip:/scores"
- "traefik.port=5000"
- "traefik.backend=scores"
physics:
build:
context: ./physics
labels:
- "traefik.frontend.rule=PathPrefixStrip:/physics"
- "traefik.port=3005"
- "traefik.backend=physics"
results:
build:
context: ./results
command: bash -c "dotnet restore && dotnet run --server.urls http://*:5000"
labels:
- "traefik.frontend.rule=PathPrefixStrip:/results"
- "traefik.port=5000"
- "traefik.backend=results"
humanizer:
image: alkukampela/humanizer
ports:
- 12006:8080
labels:
- "traefik.frontend.rule=PathPrefixStrip:/humanizer"
- "traefik.port=8080"
- "traefik.backend=humanizer"