https://github.com/thedxt/wp-docker
wordpress docker compose
https://github.com/thedxt/wp-docker
docker-compose wordpress
Last synced: 11 months ago
JSON representation
wordpress docker compose
- Host: GitHub
- URL: https://github.com/thedxt/wp-docker
- Owner: thedxt
- Created: 2019-05-19T22:06:59.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2024-06-23T00:48:36.000Z (about 2 years ago)
- Last Synced: 2024-06-23T04:49:50.218Z (about 2 years ago)
- Topics: docker-compose, wordpress
- Homepage:
- Size: 22.5 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# WP-Docker
This will create a MariaDB container while also creating a container for WordPress using docker-compose and .env
use .env to define the variables
### .env Variables
- `CONTAINER_NAME` the root name for the container _WP will be added to the end for the WordPress container and _DB will be added to the end for the database container
- `DB_DATA_PATH` the location where the database will be saved. The default is in the root folder in a folder named mysql
- `MYSQL_ROOT_PASSWORD` the root password you want for the database
- `WP_DB_NAME` the name you want for the database
- `WP_DB_USER` the username that will have access to the WP database (it will be defined in wp-config.php)
- `WP_DB_PASSWORD` the password for the database user (it will be defined in wp-config.php)
- `WORDPRESS_TABLE_PREFIX` the prefix you want to use to the tables in wordpress
- `PHP_INI` the location for your custom php.ini file. The default is in the root folder /config/php.conf.ini
- `WP_HTML` where you want all the HTML files of Wordpress to be saved. The default is in the root folder in a folder named wp-html
- `HTTP_PORT` the exposed port you want wordpress to run on