First try

This commit is contained in:
2025-10-08 22:54:06 +02:00
parent 2d3c689ff6
commit 7c92373995

View File

@@ -67,6 +67,7 @@ WEBHOOK_PID=$!
# Start hugo server in foreground (PID 1 for container) # Start hugo server in foreground (PID 1 for container)
echo "Starting Hugo server, baseURL=$HUGO_BASEURL" echo "Starting Hugo server, baseURL=$HUGO_BASEURL"
cd "$REPO_DIR"
# bind to 0.0.0.0 so it is reachable outside container # bind to 0.0.0.0 so it is reachable outside container
hugo server --bind 0.0.0.0 --baseURL "${HUGO_BASEURL}" ${HUGO_FLAGS} hugo server --bind 0.0.0.0 --baseURL "${HUGO_BASEURL}" ${HUGO_FLAGS}