File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -12,13 +12,15 @@ services:
12
12
replication-manager :
13
13
image : replication-manager
14
14
build : ../..
15
- command : monitor --interactive=false --hosts=mariadb1,mariadb2,mariadb3 --user=root --rpluser=repl:pass --verbose
15
+ command : monitor --daemon -- interactive=false --hosts=mariadb1,mariadb2,mariadb3 --user=root --rpluser=repl:pass --http-server --http-bind-address=0.0.0.0
16
16
depends_on :
17
17
- agent1
18
18
- agent2
19
19
- agent3
20
20
tty : true
21
21
stdin_open : true
22
+ ports :
23
+ - " 10001"
22
24
23
25
mariadb1 :
24
26
image : mariadb
@@ -32,7 +34,7 @@ services:
32
34
agent1 :
33
35
image : replication-manager
34
36
build : ../..
35
- command : agent --interactive=false -- hosts=mariadb1 --user=root --rpluser=repl:pass
37
+ command : agent --hosts=mariadb1 --user=root --rpluser=repl:pass
36
38
depends_on :
37
39
- mariadb1
38
40
@@ -42,7 +44,7 @@ services:
42
44
agent2 :
43
45
image : replication-manager
44
46
build : ../..
45
- command : agent --interactive=false -- hosts=mariadb2 --user=root --rpluser=repl:pass
47
+ command : agent --hosts=mariadb2 --user=root --rpluser=repl:pass
46
48
depends_on :
47
49
- mariadb2
48
50
@@ -52,6 +54,6 @@ services:
52
54
agent3 :
53
55
image : replication-manager
54
56
build : ../..
55
- command : agent --interactive=false -- hosts=mariadb3 --user=root --rpluser=repl:pass
57
+ command : agent --hosts=mariadb3 --user=root --rpluser=repl:pass
56
58
depends_on :
57
59
- mariadb3
You can’t perform that action at this time.
0 commit comments