Added configurable NPPS4 server address for sif1 account linking

This commit is contained in:
Ethan O'Brien
2024-07-10 22:33:33 -05:00
parent 88dfaed1a0
commit 66ad791ff8
3 changed files with 20 additions and 10 deletions

10
docker/start.sh Normal file → Executable file
View File

@ -3,8 +3,8 @@
port="${PORT:-8080}"
directory="${DIRECTORY:-/data/}"
if [ "$HTTPS" = "true" ]; then
/root/ew/ew --path $directory --port $port --https
else
/root/ew/ew --path $directory --port $port
fi
npps4="${NPPS4_ADDRESS:-http://127.0.0.1:51376}"
https=$([ "$HTTPS" = "true" ] && echo "--https" || echo "")
/root/ew/ew --path $directory --port $port --npps4 $npps4 $https