This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
ghost [2021/08/27 11:28] – [docker run command] alexk7110 | ghost [2021/08/28 10:15] (current) – [docker run command] alexk7110 | ||
---|---|---|---|
Line 6: | Line 6: | ||
You don't need to expose the application ports to the server since nginx that runs on docker creates an internal docker bridge and you simply connect your apps to that. | You don't need to expose the application ports to the server since nginx that runs on docker creates an internal docker bridge and you simply connect your apps to that. | ||
+ | ---- | ||
===== docker run command ===== | ===== docker run command ===== | ||
- | | + | <code bash ghost> |
- | --name=ghost \ | + | docker run -d \ |
- | --network=nginx_reverse_proxy_default \ | + | --name=ghost \ |
- | -e url=https:// | + | --network=nginx_reverse_proxy_default \ |
- | -v ${PWD}/ | + | -e url=https:// |
- | --restart unless-stopped \ | + | -v ${PWD}/ |
- | ghost | + | --restart unless-stopped \ |
+ | ghost | ||
+ | </ |