Skip to content

Commit

Permalink
fix: entrypoint about install (#1482)
Browse files Browse the repository at this point in the history
* fix: dind installation docking resource problem

Signed-off-by: liangjunhao <[email protected]>

* fix:  modify config table sql query conditions

Signed-off-by: liangjunhao <[email protected]>

* fix: entrypoint.sh about install

Signed-off-by: liangjunhao <[email protected]>

---------

Signed-off-by: liangjunhao <[email protected]>
  • Loading branch information
paterleng authored Jul 26, 2024
1 parent 46deee8 commit 8c0b5d8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ if [ "$1" = "debug" -o "$1" = "bash" ]; then
exec /bin/bash
elif [ "$1" = "version" ]; then
echo "${RELEASE_DESC}"
else
elif [ "$1" = "init" ]; then
if ! (init_database); then
exit 1
fi
Expand All @@ -78,6 +78,10 @@ else
use_mysql
fi
fi
else
if ! (init_database); then
exit 1
fi
# python upgrade.py
exec gunicorn goodrain_web.wsgi -b 0.0.0.0:${PORT:-7070} --max-requests=5000 -k gevent --reload --workers=2 --timeout=75 --log-file - --access-logfile - --error-logfile -
fi

0 comments on commit 8c0b5d8

Please sign in to comment.