It seems to be nessecary to run in host mode..
for galera to work.
This commit is contained in:
parent
1a50d5c8bf
commit
d06d10fbb1
|
@ -10,7 +10,7 @@ ExecStartPre=-/usr/bin/docker kill %n || /bin/true
|
|||
ExecStartPre=-/usr/bin/docker rm %n
|
||||
ExecStartPre=/usr/bin/docker pull mariadb:10.2
|
||||
ExecStart=/usr/bin/docker run --name %n \
|
||||
-p 3306:3306 -p 4567:4567 -p 4568:4568 -p 4444:4444 \
|
||||
--network host \
|
||||
-v /srv/mariadb/lib/mysql:/var/lib/mysql \
|
||||
-v /srv/mariadb/etc/mysql/conf.d:/etc/mysql/conf.d \
|
||||
-e MYSQL_ROOT_PASSWORD={{ secrets['MYSQL_ROOT_PASSWORD'] }} mariadb:10.2 {{ mariadb_args }}
|
||||
|
|
Loading…
Reference in New Issue