Allow custom nextauth port (#1663)

This commit is contained in:
tuxsudo
2023-11-18 14:42:47 +00:00
committed by GitHub
parent 228c51299b
commit da7c111438

View File

@@ -1,7 +1,7 @@
#!/bin/sh
echo "Exporting hostname..."
export NEXTAUTH_URL_INTERNAL="http://$HOSTNAME:7575"
export NEXTAUTH_URL_INTERNAL="http://$HOSTNAME:${PORT:-7575}"
echo "Migrating database..."
cd ./migrate; yarn db:migrate & PID=$!