forked from qeshishyan/GameProviderSolution
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
74 lines (66 loc) · 1.41 KB
/
docker-compose.yml
File metadata and controls
74 lines (66 loc) · 1.41 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
version: '3.4'
services:
api-gateway:
image: api-gateway
build:
context: ./src/APIGateway
dockerfile: Dockerfile
ports:
- "7001:7001"
user-service:
image: user-service
build:
context: ./src
dockerfile: UserService/Dockerfile
ports:
- "5158:5158"
depends_on:
- "api-gateway"
crash-game-service:
image: crash-game-service
build:
context: ./src
dockerfile: CrashGameService/Dockerfile
ports:
- "7021:7021"
depends_on:
- "api-gateway"
- "crash-game-db"
crash-game-db:
image: postgres:latest
environment:
POSTGRES_DB: CrashGame
POSTGRES_USER: postgres
POSTGRES_PASSWORD: 554466
ports:
- "5432:5432"
volumes:
- pgdata:/var/lib/postgresql/data
game-provider-db:
image: postgres:latest
environment:
POSTGRES_DB: GameProvider
POSTGRES_USER: postgres
POSTGRES_PASSWORD: 554466
ports:
- "6433:6433"
volumes:
- pgdata:/var/lib/postgresql/data
provider-service:
image: provider-service
build:
context: ./src
dockerfile: GameProviderService/Dockerfile
ports:
- "7189:7189"
depends_on:
- "api-gateway"
game-logic-phyton-api:
image: game-logic-service
build:
context: ./src
dockerfile: CrashGameLogic.Phyton/Dockerfile
ports:
- "5000:5000"
volumes:
pgdata: