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

Next revision
Previous revision
ghost [2021/08/25 15:24] – created alexk7110ghost [2021/08/28 10:15] (current) – [docker run command] alexk7110
Line 2: Line 2:
 nginx proxy manager tutorial nginx proxy manager tutorial
 https://www.youtube.com/watch?v=P3imFC7GSr0 https://www.youtube.com/watch?v=P3imFC7GSr0
 +
 +The linuxserver.io docker container exposes only port 80 thus making the need for a reverse proxy mandatory in order to host an internet facing blog with it.
 +
 +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 =====
 +<code bash ghost>
 +docker run -d \
 +  --name=ghost \
 +  --network=nginx_reverse_proxy_default \
 +  -e url=https://blog.kastanis.gr \
 +  -v ${PWD}/content:/var/lib/ghost/content \
 +  --restart unless-stopped \
 +  ghost
 +</code>
ghost.1629894279.txt.gz · Last modified: 2021/08/25 15:24 by alexk7110