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
| #!/usr/bin/env python3 | |
| import ipaddress | |
| import tkinter | |
| import tkinter.ttk | |
| import tkinter.messagebox | |
| import sys | |
| def bin2dec(value): |
| FROM php:7.1.2-apache | |
| RUN docker-php-ext-install mysqli |
| # see https://github.com/cmaessen/docker-php-sendmail for more information | |
| FROM php:5-fpm | |
| RUN apt-get update && apt-get install -q -y ssmtp mailutils && rm -rf /var/lib/apt/lists/* | |
| RUN docker-php-ext-install mysql mysqli sysvsem | |
| RUN pecl install xdebug-2.5.5 \ | |
| && echo "zend_extension=$(find /usr/local/lib/php/extensions/ -name xdebug.so)" > /usr/local/etc/php/conf.d/xdebug.ini \ |