-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
51 lines (47 loc) · 838 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
51 lines (47 loc) · 838 Bytes
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
mysql-1:
image: percona:5.7
command: --server-id=1
--log-bin=mysql-bin
--max-binlog-size=4096
--binlog-format=ROW
--sync-binlog=1
--log-slave-updates=ON
--gtid-mode=ON
--enforce-gtid-consistency=ON
--character-set-server=utf8mb4
--collation-server=utf8mb4_unicode_ci
--max-connections=1000
--read-only=OFF
--binlog-rows-query-log-events=ON
environment:
MYSQL_ALLOW_EMPTY_PASSWORD: "yes"
volumes:
- /var/lib/mysql
ports:
- "29291:3306"
email:
image: email:v1
links:
- "mysql-1"
ports:
- "8001:8001"
text:
image: text:v1
links:
- "mysql-1"
ports:
- "8002:8002"
auth:
image: auth:v1
links:
- "mysql-1"
ports:
- "8080:8080"
client:
image: client:v1
links:
- "auth"
- "email"
- "text"
ports:
- "3000:3000"