This file will setup Wordpress, MySQL & PHPMyAdmin with a single command. Add the code below to a file called "docker-compose.yaml" and run the command
$ docker-compose up -d
# To Tear Down
$ docker-compose down --volumes
| --- | |
| - name: Install docker | |
| gather_facts: No | |
| hosts: default | |
| tasks: | |
| - name: Install yum utils | |
| yum: | |
| name: yum-utils | |
| state: latest |