3 Commits

Author SHA1 Message Date
me 153efbff54 Add beginnings of the env file for Ghost. 2026-05-29 13:04:47 -07:00
me fa435853de Begin adding compose details for Ghost. 2026-05-29 10:23:43 -07:00
me 1f30f559d8 Add TBD's for Ghost. 2026-05-28 19:56:16 -07:00
3 changed files with 97 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
TBD!
@@ -0,0 +1,38 @@
# 2026-05-29 Hyperling
# Supposedly much more resource friendly alternative to WordPress, which I typically avoid due to the resource usage andd slow response times.
# https://hub.docker.com/_/ghost
services:
app:
container_name: ghost-app
image: ghost:bookworm
restart: always
ports:
- 8068:2368
environment:
# see https://ghost.org/docs/config/#configuration-options
database__client: mysql
database__connection__host: db
database__connection__user: root
database__connection__password: example
database__connection__database: ghost
# this url value is just an example, and is likely wrong for your environment!
#url: http://localhost:8080
# contrary to the default mentioned in the linked documentation, this image defaults to NODE_ENV=production (so development mode needs to be explicitly specified if desired)
#NODE_ENV: development
volumes:
- ../../Volumes/Ghost/ghost:/var/lib/ghost/content
db:
container_name: ghost-db
image: mariadb:lts
restart: always
environment:
MYSQL_ROOT_PASSWORD: example
volumes:
- ../../Volumes/Ghost/db:/var/lib/mysql
volumes:
ghost:
db:
+58
View File
@@ -0,0 +1,58 @@
# This file needs copied to `.env` and have its values changes as needed.
## Docker ##
COMPOSE_BAKE=true
## End Docker ##
## Ghost ##
# TBD/TODO
## End Ghost ##
## Database ##
MARIADB_DATABASE='ghost'
#MARIADB_USER='db_user'
#MARIADB_PASSWORD='database_password'
MARIADB_ROOT_PASSWORD='db_root_password'
# Comment this if you do not want MariaDB to run upgrade scripts on new versions.
MARIADB_AUTO_UPGRADE=1
## End Database ##
## Performance ##
# Standard Minimum
#GHOST_CPU=1.00
#GHOST_MEM=2.00G
#GHOST_CPU_DB=1.00
#GHOST_MEM_DB=1.00G
# Standard Recommended
#GHOST_CPU=1.00
#GHOST_MEM=4.00G
#GHOST_CPU_DB=1.00
#GHOST_MEM_DB=0.50G
# Tested Minimum
#GHOST_CPU=0.35
#GHOST_MEM=0.35G
#GHOST_CPU_DB=0.15
#GHOST_MEM_DB=0.15G
# Tested Recommended
## GHOST_CPU=0.50
## GHOST_MEM=0.50G
## GHOST_CPU_DB=0.25
## GHOST_MEM_DB=0.25G
## End Performance ##