Compare commits

..

No commits in common. "0c2865c620f10cee1ce51ca24e40d72f406fc3d0" and "335263310cd8bbe6c35c0128bd79beeda8df61fc" have entirely different histories.

3 changed files with 0 additions and 46 deletions

View File

@ -1,7 +0,0 @@
$CONTAINER_NAME=TheNameOfYourContainer
MYSQL_ROOT_PASSWORD=YourMySQLRootPasswordHere
MYSQL_USER=wpuser
MYSQL_PASSWORD=The_wpuser_password_here
MYSQL_WP_DATABASE=wordpressdb
EX_PORT=8000

View File

@ -1,8 +0,0 @@
INSTRUCTIONS
1. Copy (and edit) .env_default to .env
2. Run docker-compose
3. Access the system in hostname:$EX_PORT
4. Follow the system instructions to install WP
5. Have fun!

View File

@ -1,31 +0,0 @@
version: '3'
services:
db:
image: mysql:8.0
container_name: $CONTAINER_NAME_db
restart: unless-stopped
env_file: .env
environment:
- MYSQL_DATABASE=$MYSQL_WP_DATABASE
volumes:
- ./dbdata:/var/lib/mysql
command: '--default-authentication-plugin=mysql_native_password'
wordpress:
depends_on:
- db
image: wordpress
container_name: $CONTAINER_NAME_wp
restart: unless-stopped
env_file: .env
ports:
- $EX_PORT:80
environment:
- WORDPRESS_DB_HOST=db:3306
- WORDPRESS_DB_USER=$MYSQL_USER
- WORDPRESS_DB_PASSWORD=$MYSQL_PASSWORD
- WORDPRESS_DB_NAME=$MYSQL_WP_DATABASE
volumes:
- ./wordpress:/var/www/html