This commit is contained in:
Trey t
2025-11-28 00:19:49 -06:00
parent 11b217a9b6
commit 10b9911e93
2 changed files with 10 additions and 6 deletions

View File

@@ -1,9 +1,13 @@
#!/bin/bash
set -e
# Start Next.js admin panel in background on port 3000
HOSTNAME="0.0.0.0" PORT=3000 node /app/admin/server.js &
HOSTNAME="0.0.0.0" PORT=3000 node /app/server.js &
# Wait for Next.js to start
# Optional: small log so you know it started
echo "Started Next.js admin on :3000" >&2
# Wait a bit so proxy doesn't hit it before it's listening
sleep 3
# Start Go API (uses PORT env from Dokku, defaults to 5000)