Gavin Leo’s blog
Rocketmq in Docker Compose
Create data dirs for docker
sudo mkdir -p /data/docker-vol/rmq/broker-{a,b}/logs
sudo mkdir -p /data/docker-vol/rmq/namesrv-{a,b}/{logs,store}
sudo chown -R 3000:3000 /data/docker-vol/rmq/
Etcd in Docker Compose
Prepare data persistent directories on Host machine.
sudo mkdir -p /data/docker-vol/etcd/etcd{01,02,03}
sudo chown -R 1001:1001 /data/docker-vol/etcd
Mariadb replication using containers
Prepare data persistent directories on Host machine.
Execute following command on host bash shell
sudo mkdir -p /data/docker-vol/mariadb/{master,slave}
sudo chown -R 999:999 /data/docker-vol/mariadb