Allow custom nextauth port (#1663)

This commit is contained in:
tuxsudo authored and GitHub committed 2023-11-18 15:42:47 +01:00
1 parent 228c51299b
commit da7c111438
1 file changed
+1 -1
+1 -1
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=$!