Homelab Troubleshooting

Tips on running a Linux server and docker.

User Tools

Site Tools


ghost

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
ghost [2021/08/27 11:28] – [docker run command] alexk7110ghost [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 =====
-  docker run -d \ +<code bash ghost> 
-    --name=ghost \ +docker run -d \ 
-    --network=nginx_reverse_proxy_default \ +  --name=ghost \ 
-    -e url=https://blog.kastanis.gr \ +  --network=nginx_reverse_proxy_default \ 
-    -v ${PWD}/content:/var/lib/ghost/content \ +  -e url=https://blog.kastanis.gr \ 
-    --restart unless-stopped \ +  -v ${PWD}/content:/var/lib/ghost/content \ 
-    ghost+  --restart unless-stopped \ 
 +  ghost 
 +</code>
ghost.1630052913.txt.gz · Last modified: 2021/08/27 11:28 by alexk7110