-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
63 lines (57 loc) · 1.26 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
version: '3'
name: poker-compose
services:
redis:
image: redis
ports:
- "6379:6379"
monitoring-dev:
build:
dockerfile: Dockerfile.monitoring.dev
image: monitoring:dev
ports:
- "3000:3000"
environment:
- REDIS_URI=redis://redis:6379
- GAMES_ENDPOINT=ws://games-dev:3001/api/v0/graphql
- PLAYERS_ENDPOINT=ws://players-dev:3002/api/v0/graphql
- STATS_ENDPOINT=ws://stats-dev:3003/api/v0/graphql
depends_on:
- redis
- players-dev
- games-dev
- stats-dev
players-dev:
build:
dockerfile: Dockerfile.players.dev
image: players:dev
ports:
- "3001:3000"
environment:
- REDIS_URI=redis://redis
games-dev:
build:
dockerfile: Dockerfile.games.dev
image: games:dev
ports:
- "3002:3000"
environment:
- REDIS_URI=redis://redis
stats-dev:
build:
dockerfile: Dockerfile.stats.dev
image: stats:dev
ports:
- "3003:3000"
environment:
- REDIS_URI=redis://redis
ui-dev:
build:
dockerfile: Dockerfile.ui.dev
args:
- REACT_APP_MONITORING_ENDPOINT=monitoring-dev
- REACT_APP_STATS_ENDPOINT=stats-dev
ports:
- "8090:80"
depends_on:
- monitoring-dev