From fa435853de19ff7ab0096a4d7245a7b6716ea384 Mon Sep 17 00:00:00 2001 From: Hyperling Date: Fri, 29 May 2026 10:23:43 -0700 Subject: [PATCH] Begin adding compose details for Ghost. --- .../GhostExample/docker-compose.example.yml | 39 ++++++++++++++++++- 1 file changed, 38 insertions(+), 1 deletion(-) diff --git a/Config/GhostExample/docker-compose.example.yml b/Config/GhostExample/docker-compose.example.yml index 71a717c..0bedd48 100644 --- a/Config/GhostExample/docker-compose.example.yml +++ b/Config/GhostExample/docker-compose.example.yml @@ -1 +1,38 @@ -TBD! +# 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: