a Docker container for Wordpress using nginx php-fpm and supervisord
1.2K
This repo contains a recipe for making a Docker container for Wordpress, using Nginx,PHP-FPM on Fedora, linked with a MariaDB/MySQL container. To build, make sure you have Docker installed, clone this repo somewhere, and then build both MariaDB and Wordpress images.
steps:
Using volumes:
docker run -e USER=wordpress -e PASS=admin123 -e NAME=wordpress \
-v /mnt/db:/var/lib/mysql -d fedora/mariadb
docker run --link=the-mariadb-container:db -p 80 \
-v /mnt/wp-content:/var/www/html/wp-content -d toxmc/fedora-nginx-wordpress
last you mush add "xx.xx.xx.xx(ip) docker.val.xyz" into /etc/hosts file.
Content type
Image
Digest
Size
188.8 MB
Last updated
over 10 years ago
docker pull toxmc/fedora-nginx-wordpress