-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yaml
31 lines (31 loc) · 1.09 KB
/
docker-compose.yaml
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
version: "3"
services:
plutos1:
image: qiwitech/qdp
entrypoint: "/plutos"
command: ["-listen", ":31337", "-self", "plutos1:31337", "-nodes", "plutos1:31337,plutos2:31337,plutos3:31337", "-db", "plutodb:38388"]
plutos2:
image: qiwitech/qdp
entrypoint: "/plutos"
command: ["-listen", ":31337", "-self", "plutos2:31337", "-nodes", "plutos1:31337,plutos2:31337,plutos3:31337", "-db", "plutodb:38388"]
plutos3:
image: qiwitech/qdp
entrypoint: "/plutos"
command: ["-listen", ":31337", "-self", "plutos3:31337", "-nodes", "plutos1:31337,plutos2:31337,plutos3:31337", "-db", "plutodb:38388"]
plutoapi:
image: qiwitech/qdp
entrypoint: "/plutoapi"
command: ["-listen", ":9090", "-gate", "plutos1:31337", "-plutodb", "plutodb:38388"]
ports:
- "9090:9090"
plutodb:
image: qiwitech/qdp
entrypoint: "/plutosqldb"
command: ["-listen", ":38388", "-auth", "root:my-secret-pw", "-dbaddr", "mysql:3306", "-dbname", "plutodb"]
restart: always
links:
- mysql
mysql:
image: mysql:5.5
environment:
- MYSQL_ROOT_PASSWORD=my-secret-pw