expose port 8501 by default
#!/bin/bash
+if [[ -z $PORT ]]; then
+ PORT_TO_USE=8501
+else
+ PORT_TO_USE=$PORT
+fi
+
/opt/mssql/bin/sqlservr &
P1=$!
-python -m pymedphys gui --port $PORT &
+python -m pymedphys gui --port $PORT_TO_USE &
P2=$!
wait $P1 $P2
