-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
55 lines (54 loc) · 1.52 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
version: '3.3'
services:
user:
build:
context: ./
dockerfile: apps/user/Dockerfile
restart: on-failure
environment:
- JWT_SECRET=ILIKEPOTATOES
- BASE_URL_USER=http://user:3333
- BASE_URL_ROUND=http://round:3335
- BASE_URL_STATS=http://stats:3337
- BASE_URL_MATCHMAKING=http://matchmaking:3334
matchmaking:
build:
context: ./
dockerfile: apps/matchmaking/Dockerfile
restart: on-failure
environment:
- JWT_SECRET=ILIKEPOTATOES
- BASE_URL_USER=http://user:3333
- BASE_URL_ROUND=http://round:3335
- BASE_URL_STATS=http://stats:3337
- BASE_URL_MATCHMAKING=http://matchmaking:3334
round:
build:
context: ./
dockerfile: apps/round/Dockerfile
restart: on-failure
environment:
- JWT_SECRET=ILIKEPOTATOES
- BASE_URL_USER=http://user:3333
- BASE_URL_ROUND=http://round:3335
- BASE_URL_STATS=http://stats:3337
- BASE_URL_MATCHMAKING=http://matchmaking:3334
stats:
build:
context: ./
dockerfile: apps/stats/Dockerfile
restart: on-failure
environment:
- JWT_SECRET=ILIKEPOTATOES
- BASE_URL_USER=http://user:3333
- BASE_URL_ROUND=http://round:3335
- BASE_URL_STATS=http://stats:3337
- BASE_URL_MATCHMAKING=http://matchmaking:3334
api-gateway:
image: devopsfaith/krakend:1.4
restart: unless-stopped
command: run --config /etc/krakend/config.json
volumes:
- ./krakend.json:/etc/krakend/config.json
ports:
- 8000:8000