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 "DbP@SSwod1" | docker secret create root_db_password -$ echo "myJ000mlaPw" | docker secret create jm_db_password -

Let's confirm that we added them correctly:
$ docker secret ls

They look good. Let's create a custom overlay network so that our services can talk with each other over an encrypted connection on the cluster:
$ docker network create -d overlay joomla$ docker network ls
Read now
Unlock full access