Begin adding compose details for Ghost.
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user