Compare commits
2 Commits
567f1de450
...
dac5c0de17
| Author | SHA1 | Date | |
|---|---|---|---|
| dac5c0de17 | |||
| 3ae7a6f8f9 |
@@ -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
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
# Construction Area
|
# Construction Area
|
||||||
|
|
||||||
Work in progress. :)
|
This configuration is still a work in progress. :)
|
||||||
|
|||||||
40
Config/WordpressExample/docker-compose.main.yml
Normal file
40
Config/WordpressExample/docker-compose.main.yml
Normal 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:
|
||||||
Reference in New Issue
Block a user