-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
60 lines (54 loc) · 1.09 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
services:
mysql:
build: ./mysql
container_name: ise-mysql
restart: always
networks:
sql-server:
environment:
MYSQL_ROOT_PASSWORD: password
MYSQL_DATABASE: card-game
MYSQL_USER: ise-editor
MYSQL_PASSWORD: ise-password
mongo:
build: ./mongo
container_name: ise-mongo
environment:
MONGO_INITDB_ROOT_USERNAME: ise-editor
MONGO_INITDB_ROOT_PASSWORD: ise-password
MONGO_INITDB_DATABASE: card-game
networks:
mongo-server:
server:
build: ./server
container_name: ise-server
restart: always
networks:
server-nginx:
sql-server:
mongo-server:
app:
build: ./app
container_name: ise-app
restart: always
networks:
app-nginx:
nginx:
build: ./nginx
container_name: ise-nginx
restart: always
networks:
server-nginx:
app-nginx:
ports:
- target: 443
published: 443
protocol: tcp
- target: 8443
published: 8443
protocol: tcp
networks:
server-nginx:
app-nginx:
sql-server:
mongo-server: