Sign inSign up

mmornati/docker-ghostdbmigrate

By mmornati

•Updated almost 9 years ago

https://github.com/mmornati/docker-ghostdbmigrate

Image
0

2.0K

mmornati/docker-ghostdbmigrate repository overview

Build Status

⁠docker-ghostdbmigrate

This Docker can be used to migrate the Ghost Blog database from a newer version.

⁠Installation
⁠Building by yourself
git clone https://github.com/mmornati/docker-ghostdbmigrate.git
cd docker-ghostdbmigrate
docker build -t mmornati/docker-ghostdbmigrate .
⁠From DockerHub
docker pull mmornati/docker-ghostdbmigrate
⁠Usage
docker run -it --rm --name blogmigrate -e NODE_ENV=production -e DB_CURRENT_VERSION=1.0.2 -v /Users/mmornati/ghost-blog-test:/ghost-override mmornati/docker-ghostdbmigrate:v1.8.6

You have to change:

  • -v parameter to point to your external/database path
  • DB_CURRENT_VERSION variable with the version of ghost you use before the upgrade.

Tag summary

Content type

Image

Digest

Size

61.4 MB

Last updated

almost 9 years ago

docker pull mmornati/docker-ghostdbmigrate