That’s good @Jivebunny :) . But I think it’s overkill to go with the jwilder/nginx setup. Just run things locally without a PROD URL.
- Locally, put your file (converted from WP) into /path/to/ghost/
From this docs (which I contributed), RUN:
docker run -d \
--name some-ghost \
-p 3001:2368 \
-v /path/to/ghost/blog:/var/lib/ghost/content \
ghost:1-alpine
-
Go to http://localhost:3001
Your content appears normal under Ghost V1. Yeah. -
Remove your container. RUN:
docker rm -f some-ghost
- Let’s upgrade to Ghost v2. RUN:
docker run -d \
--name some-ghost \
-p 3001:2368 \
-v /path/to/ghost/blog:/var/lib/ghost/content \
ghost:2-alpine
-
Go to http://localhost:3001
Your content appears normal under Ghost V2. Yeah. -
Now you’re ready to go! Copy your data into your PROD env and start Ghost V2. Et voilà!
Cheers!
Pascal