Echo address:port in run script

main
Ben Busby 2023-10-11 14:12:40 -06:00
parent 330ae964f3
commit f7513bab69
No known key found for this signature in database
GPG Key ID: B9B7231E01D924A1
1 changed files with 1 additions and 0 deletions

1
run
View File

@ -29,6 +29,7 @@ else
python3 -um app \ python3 -um app \
--unix-socket "$UNIX_SOCKET" --unix-socket "$UNIX_SOCKET"
else else
echo "Running on http://${ADDRESS:-0.0.0.0}:${PORT:-"${EXPOSE_PORT:-5000}"}"
python3 -um app \ python3 -um app \
--host "${ADDRESS:-0.0.0.0}" \ --host "${ADDRESS:-0.0.0.0}" \
--port "${PORT:-"${EXPOSE_PORT:-5000}"}" --port "${PORT:-"${EXPOSE_PORT:-5000}"}"