Add breakout graph and local nas-hosted deploy

This commit is contained in:
2022-06-03 13:37:25 -05:00
parent 6c703f616e
commit c4b2e11f68
3 changed files with 92 additions and 3 deletions

View File

@@ -3,7 +3,8 @@
docker build -t wordlinator:latest .
if [ "$1" = "--debug" ]; then
docker run -d --rm -p 8050:8050 -e DEBUG=true -e DB_PORT -e DB_HOST -e DB_PASS --name wordlinator wordlinator:latest
shift
docker run -d --rm -p 8050:8050 -e DEBUG=true -e DB_PORT -e DB_HOST -e DB_PASS "$@" --name wordlinator wordlinator:latest
else
docker run -d --rm -p 8050:8050 -e DB_PORT -e DB_HOST -e DB_PASS --name wordlinator wordlinator:latest
docker run -d --rm -p 8050:8050 -e DB_PORT -e DB_HOST -e DB_PASS "$@" --name wordlinator wordlinator:latest
fi