-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
75 lines (74 loc) · 1.39 KB
/
docker-compose.yaml
File metadata and controls
75 lines (74 loc) · 1.39 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
75
version: "3"
services:
api:
build: api
container_name: api
ports:
- "8080:8080"
auth:
build:
context: ./
dockerfile: auth/Dockerfile
container_name: auth
depends_on:
- mongodb-auth
- users
environment:
- MONGODB_HOSTNAME=mongodb-auth
ports:
- "8082:8080"
users:
build:
context: ./
dockerfile: users/Dockerfile
container_name: users
depends_on:
- mongodb-users
environment:
- MONGODB_HOSTNAME=mongodb-users
ports:
- "8081:8080"
live-chat:
build: live-chat
container_name: live-chat
depends_on:
- auth
- chats
ports:
- "8083:8080"
client:
build: client
container_name: client
ports:
- "3000:3000"
depends_on:
- api
- live-chat
chats:
build: chats
container_name: chats
depends_on:
- auth
- mysql-chats
ports:
- "8084:8080"
mongodb-auth:
image: mongo:latest
container_name: mongodb-auth
mongodb-users:
image: mongo:latest
container_name: mongodb-users
mysql-chats:
image: mysql
container_name: mysql-chats
ports:
- "3306:3306"
expose:
- "3306"
environment:
- MYSQL_USER=mudsigmoids
- MYSQL_PASSWORD=mudsigmoids
- MYSQL_DATABASE=dIRC
- MYSQL_ROOT_PASSWORD=root
volumes:
- "./conf.d:/etc/mysql/conf.d:ro"