Ghost
Ghost is a modern, open-source content management system (CMS) designed specifically for creating and publishing blogs and online publications. It focuses on simplicity, speed, and an excellent writing experience, making it a popular choice for bloggers, writers, and publishers. Ghost offers a clean and minimalist interface, a powerful content editor, and features like custom themes and multi-user collaboration to help users create and manage their online content effectively.
version: '3.1'
services:
ghost:
image: ghost:latest
restart: always
ports:
- [port]:2368
environment:
# see https://ghost.org/docs/config/#configuration-options
database__client: mysql
database__connection__host: db
database__connection__user: root
database__connection__password: #Password#
database__connection__database: ghost
PUID: 1000
PGID: 1000
# this url value is just an example, and is likely wrong for your environment!
url: https://localhost
# 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: production
volumes:
- /home/[user]/docker/ghostwiki/:/var/lib/ghost/content
db:
image: mysql:8.0
restart: always
environment:
MYSQL_ROOT_PASSWORD: #Password#
MYSQL_DATABASE: ghost
PUID: 1000
PGID: 1000
TZ: "Europe/Zurich"
volumes:
- /home/[user]/docker/ghostwiki/db:/var/lib/mysql