-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
54 lines (54 loc) · 996 Bytes
/
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
version: '3.9'
services:
mysql:
image: kimo/mysql
container_name: kimo-mysql
build:
dockerfile: Dockerfile-mysql
context: .
ports:
- "3306:3306"
tcpproxy:
image: cenkalti/tcpproxy
container_name: kimo-tcpproxy
depends_on:
- mysql
ports:
- "3307:3307"
tty: true
privileged: true
command:
- "-m"
- "0.0.0.0:3307"
- "0.0.0.0:3306"
- "mysql:3306"
kimo:
image: kimo
container_name: kimo
build:
dockerfile: Dockerfile-kimo
context: .
depends_on:
- mysql
tty: true
kimo-agent:
image: kimo-agent
build:
dockerfile: Dockerfile-kimo-agent
context: .
ports:
- "3333"
depends_on:
- tcpproxy
tty: true
scale: 3
kimo-server:
image: kimo
container_name: kimo-server
entrypoint: kimo --debug server
ports:
- "3322:3322"
build:
dockerfile: Dockerfile-kimo
context: .
tty: true