From da7c1114384b895d894c681848ec4cd603fd4776 Mon Sep 17 00:00:00 2001 From: tuxsudo Date: Sat, 18 Nov 2023 14:42:47 +0000 Subject: [PATCH] Allow custom nextauth port (#1663) --- scripts/run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/run.sh b/scripts/run.sh index ba017d05e..4623c6078 100644 --- a/scripts/run.sh +++ b/scripts/run.sh @@ -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=$!