wordpress-docker-compose
Данный репозиторий является форком репозитория https://github.com/kassambara/wordpress-docker-compose
Отличия данного форка:
- изменен набор плагинов, которые устанавливаются вместе с Wordpress
- после установки ядро обновляется до последней версии
- устанавливается языковой пакет для ядра и плагинов
- фикс прав на директорию wordpress/wp-content
Форк создавался для личного использования, но он открыт для исправлений и использования. Распространяется по лицензии MIT.
output: github_document
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>"
)
Deploy Wordpress on Localhost and in Production using Docker Compose
Related blog post:
- WordPress Local Development Using Docker Compose: Deploy Wordpress on localhost using docker
- Docker WordPress Production Deployment: Step-by-step guide to deploy WordPress online using docker-compose
- Using Docker WordPress Cli to Manage WordPress Websites: Commande line interface for managing a WordPress website
The installation tool kit, provided here, include:
-
Nginx web server
-
MariaDB/MySQL used for Wordpress database
-
phpMyAdmin interface to connect to your MySQL database
-
WP-Cli: Wordpress Command Line Interface
-
Makefile directives for automatization.
You can automatically deploy a local docker wordpress site in 5 minutes using the following commands:
# Download a wordpress docker-compose examplegit clone https://github.com/kassambara/wordpress-docker-composecd wordpress-docker-compose# Build and start installationdocker-compose up -d --build
Visit your site at http://localhost and your database via phpMyAdmin at http://localhost:8080.
Default identification for your wordpress website admin:
Username: wordpress
andPassword: wordpress
Default identification for the phpMyAdmin interface:
-
Username: root
and -
Password: password
Useful set of commands to know:
# Stop and remove containersdocker-compose down# Build, and start the wordpress websitedocker-compose up -d --build# Reset everythingdocker-compose downrm -rf certs/* certs-data/* logs/nginx/* mysql/* wordpress/*
References
Описание
Deploy Wordpress on Localhost using Docker Compose
Языки
Shell
- Dockerfile
- Makefile