Skip to content

Commit 7d3cc88

Browse files
committed
httpd port made available, updated agent args
1 parent ba84963 commit 7d3cc88

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

contrib/cluster-maxscale/docker-compose.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,15 @@ services:
1212
replication-manager:
1313
image: replication-manager
1414
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
1616
depends_on:
1717
- agent1
1818
- agent2
1919
- agent3
2020
tty: true
2121
stdin_open: true
22+
ports:
23+
- "10001"
2224

2325
mariadb1:
2426
image: mariadb
@@ -32,7 +34,7 @@ services:
3234
agent1:
3335
image: replication-manager
3436
build: ../..
35-
command: agent --interactive=false --hosts=mariadb1 --user=root --rpluser=repl:pass
37+
command: agent --hosts=mariadb1 --user=root --rpluser=repl:pass
3638
depends_on:
3739
- mariadb1
3840

@@ -42,7 +44,7 @@ services:
4244
agent2:
4345
image: replication-manager
4446
build: ../..
45-
command: agent --interactive=false --hosts=mariadb2 --user=root --rpluser=repl:pass
47+
command: agent --hosts=mariadb2 --user=root --rpluser=repl:pass
4648
depends_on:
4749
- mariadb2
4850

@@ -52,6 +54,6 @@ services:
5254
agent3:
5355
image: replication-manager
5456
build: ../..
55-
command: agent --interactive=false --hosts=mariadb3 --user=root --rpluser=repl:pass
57+
command: agent --hosts=mariadb3 --user=root --rpluser=repl:pass
5658
depends_on:
5759
- mariadb3

0 commit comments

Comments
 (0)