mirror of
https://github.com/d0zingcat/ghost-docker.git
synced 2026-05-13 15:09:34 +00:00
Start exposing Ghost on localhost and template port
no ref - The thinking here is this allows users to more easily run multiple Ghost instances on the same server by templating the Ghost port - Majority wont need this but it also simplifies the message around having to forward traffic if you don't start Caddy
This commit is contained in:
@@ -509,9 +509,11 @@ main() {
|
||||
echo "✓ Caddy Webserver is running!"
|
||||
echo "✓ Your site is available at: https://${domain}"
|
||||
else
|
||||
local ghost_port
|
||||
ghost_port=$(grep 'GHOST_PORT' "${PWD}/.env" | cut -d '=' -f 2)
|
||||
echo ""
|
||||
echo "✓ Ghost is running on port 2368"
|
||||
echo " Configure your reverse proxy to forward traffic to it"
|
||||
echo "✓ Ghost is now running"
|
||||
echo " To finish migration, configure your webserver to forward traffic to 127.0.0.1:${ghost_port}"
|
||||
fi
|
||||
|
||||
# Success! Remove recovery script
|
||||
|
||||
Reference in New Issue
Block a user