Compare commits

..

2 Commits

Author SHA1 Message Date
dac5c0de17 Begin adding a Wordpress example. 2025-10-17 15:31:30 -07:00
3ae7a6f8f9 Specify what is meant in the WIP README's. 2025-10-17 15:22:51 -07:00
3 changed files with 43 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
# Construction Area. # Construction Area
Work in progress. :) This configuration is still a work in progress. :)
# Provision Test Images # Provision Test Images

View File

@@ -1,3 +1,3 @@
# Construction Area # Construction Area
Work in progress. :) This configuration is still a work in progress. :)

View File

@@ -0,0 +1,40 @@
# 2025-10-17 Hyperling
# Copied and modified from the example here:
# https://hub.docker.com/_/wordpress
## TBDs ##
# - Move env variables to env.example
# - Look through other environment variables which may be useful.
# - Add CPU and MEM section
# - Change ports
services:
wp-app:
image: wordpress
restart: always
ports:
- 8080:80
environment:
WORDPRESS_DB_HOST: db
WORDPRESS_DB_USER: exampleuser
WORDPRESS_DB_PASSWORD: examplepass
WORDPRESS_DB_NAME: exampledb
volumes:
- wordpress:/var/www/html
wp-db:
image: mysql:8.0
restart: always
environment:
MYSQL_DATABASE: exampledb
MYSQL_USER: exampleuser
MYSQL_PASSWORD: examplepass
MYSQL_RANDOM_ROOT_PASSWORD: '1'
volumes:
- db:/var/lib/mysql
# TBD locate these at ../../Volumes
volumes:
wordpress:
db: