Skip to content

Instantly share code, notes, and snippets.

@pfrayer
Created October 20, 2022 08:05
Show Gist options
  • Save pfrayer/c0ae044bc1e655919fe06cded411b88d to your computer and use it in GitHub Desktop.
Save pfrayer/c0ae044bc1e655919fe06cded411b88d to your computer and use it in GitHub Desktop.
Run dockerized Ghost 5 blog using SQLite
docker run -d \
--name ghost-5 \
--restart always \
-p 127.0.0.1:XXX:2368 \
-e url=https://blog.foo.bar/ \
-e database__client=sqlite3 \
-e database__connection__filename="content/data/ghost.db" \
-e database__useNullAsDefault=true \
-e database__debug=false \
-v /my/blog/data:/var/lib/ghost/content \
ghost:5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment