-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
116 lines (105 loc) · 2.7 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
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
version: "3"
services:
redis:
image: redis
container_name: redis
ports:
- "6379:6379"
networks:
- gateway
mongo:
image: mongo:3
container_name: mongo
command: mongod --smallfiles --bind_ip_all
volumes:
- ./data:/data/db
ports:
- "27017:27017"
networks:
- gateway
gateway:
image: shipyardsuite/gateway:develop
container_name: gateway
ports:
- "8080:8080"
- "80:80"
- "8443:8443"
- "9876:9876"
volumes:
- ./gateway/config/system.config.yml:/usr/src/app/config/system.config.yml
- ./gateway/config/gateway.config.yml:/usr/src/app/config/gateway.config.yml
networks:
- gateway
homepage:
image: shipyardsuite/homepage:develop
command: sh -c 'npm run start'
container_name: homepage
ports:
- "3001:3001"
networks:
- gateway
environment:
SERVICE_NAME: homepage
SERVICE_PORT: 3001
auth:
image: shipyardsuite/auth:develop
command: sh -c 'npm run start'
container_name: auth
ports:
- "3002:3002"
networks:
- gateway
environment:
SERVICE_NAME: auth
SERVICE_PORT: 3002
player:
image: shipyardsuite/player:develop
command: sh -c 'npm run start'
container_name: player
ports:
- "3006:3006"
networks:
- gateway
environment:
SERVICE_NAME: player
SERVICE_PORT: 3006
project:
image: shipyardsuite/project:develop
command: sh -c 'npm run start'
container_name: project
ports:
- "3007:3007"
networks:
- gateway
environment:
SERVICE_NAME: project
SERVICE_PORT: 3007
user:
image: shipyardsuite/user:develop
command: sh -c 'npm run start'
container_name: user
ports:
- "3009:3009"
networks:
- gateway
environment:
SERVICE_NAME: user
SERVICE_PORT: 3009
dashboard:
build:
context: ./
dockerfile: Dockerfile
volumes:
- ./:/usr/src/app
working_dir: /usr/src/app
command: sh -c 'npm install; npm run start:dev'
container_name: dashboard
ports:
- "3004:3004"
networks:
- gateway
environment:
SERVICE_NAME: dashboard
SERVICE_PORT: 3004
networks:
gateway: