mkdir /home/share
cd /home/share
mkdir mariadb redis cache uploads certificates functions builds config executor
> ssh-keygen -t ed25519
cat sshfs.pub >> /root/.ssh/authorized_keys
You'll use the private key for either the horizontal
or the swarm
method.
Put .env
and docker-compose.yml
inside the /root/databases/
folder, adjust the environment variables inside the .env
file. Then run
docker-compose up -d