-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
133 lines (133 loc) · 2.88 KB
/
docker-compose.yml
File metadata and controls
133 lines (133 loc) · 2.88 KB
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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
---
version: '3.8'
services:
gameredis:
image: redis:7.0.7-bullseye
restart: always
command: redis-server --save 20 1 --loglevel warning --requirepass gameredis_password
environment:
- NEW_RELIC_LICENSE_KEY
- NEW_RELIC_MONITOR_MODE
- REDISCLI_AUTH=gameredis_password
ports:
- 20000:6379
volumes:
- "./data/gameredis:/data"
accountservice:
image: melen/accountservice
ports:
- 20100:9292
environment:
- REDIS_HOST=gameredis
- REDIS_PORT=6379
- REDIS_PASSWORD=gameredis_password
- NEW_RELIC_APP_NAME=accountservice
build:
context: "./accountservice"
links:
- gameredis
depends_on:
- gameredis
gameservice:
image: melen/gameservice
ports:
- 20200:9292
environment:
- REDIS_HOST=gameredis
- REDIS_PORT=6379
- REDIS_PASSWORD=gameredis_password
- NEW_RELIC_LICENSE_KEY
- NEW_RELIC_MONITOR_MODE
- NEW_RELIC_LOG_LEVEL=debug
- NEW_RELIC_APP_NAME=gameservice
build:
context: "./"
dockerfile: "./gameservice/Dockerfile"
links:
- gameredis
- accountservice
- achievementservice
depends_on:
- gameredis
- accountservice
- achievementservice
achievementservice:
image: melen/achievementservice
ports:
- 20300:9292
environment:
- REDIS_HOST=gameredis
- REDIS_PORT=6379
- REDIS_PASSWORD=gameredis_password
- NEW_RELIC_LICENSE_KEY
- NEW_RELIC_MONITOR_MODE
- NEW_RELIC_APP_NAME=achievementservice
build:
context: "./achievementservice"
links:
- gameredis
depends_on:
- gameredis
bigboard:
image: melen/bigboard
ports:
- 20400:9292
environment:
- NEW_RELIC_LICENSE_KEY
- NEW_RELIC_MONITOR_MODE
build:
context: "./bigboard"
links:
- accountservice
- gameservice
- achievementservice
depends_on:
- accountservice
- gameservice
- achievementservice
playerservice: &playerservice
image: melen/playerservice
environment:
- NEW_RELIC_LICENSE_KEY
- NEW_RELIC_MONITOR_MODE
- NEW_RELIC_APP_NAME=playerservice
build:
context: "./playerservice"
links:
- accountservice
- gameservice
depends_on:
- accountservice
- gameservice
player2service:
<<: *playerservice
player3service:
<<: *playerservice
player4service:
<<: *playerservice
player5service:
<<: *playerservice
player6service:
<<: *playerservice
player7service:
<<: *playerservice
player8service:
<<: *playerservice
player9service:
<<: *playerservice
player10service:
<<: *playerservice
player11service:
<<: *playerservice
player12service:
<<: *playerservice
player13service:
<<: *playerservice
player14service:
<<: *playerservice
player15service:
<<: *playerservice
player16service:
<<: *playerservice
player17service:
<<: *playerservice