August 2018
Intermediate to advanced
352 pages
12h 30m
English
Once we are logged in to one of the manager nodes, the first thing we need to do is create some swarm secrets for our database passwords:
$ echo "myDbP@SSwods" | docker secret create root_db_password -$ echo "myWpressPw" | docker secret create wp_db_password -

We also need to create an overlay network so that our services can talk with each other:
$ docker network create -d overlay wp

Let's create the MariaDB database service that WordPress is going to use; we will use the secrets and the network we created previously. We will ...
Read now
Unlock full access