Upgrade Ghost 4 to Ghost 5 continuing to use sqlite
Works!!
Removed the service with docker compose down ghost-blog
.
Changed image: ghost:4-alpine
to image: ghost:5-alpine
and added
[..]
environment:
[..]
- database__client=sqlite3
- database__connection__filename="content/data/ghost.db"
- database__useNullAsDefault=true
- database__debug=false
in the docker compose file. The parameters are sourced from here.
Pull the new image and recreate the service with the new config
docker pull ghost:alpine-5
docker compose up ghost-blog -d