Ansible Playbook – Install Docker on CentOS 7

The following example was taken as a Playbook. This Playbook runs on the “docker” host group, installs the necessary packages for Docker, adds the Docker repository, installs Docker, launches it and adds it to autorun. Also adds the user “artem” to the group “docker“   docker.yaml   Apply Playbook:

 Docker phpMyAdmin – Nginx reverse proxy

For a container with phpMyAdmin, you need to add a variable with an absolute path:     The “location” block for Nginx (change the proxy path to yours):   Now phpMyAdmin will be available along the path: