diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index 6fbaf2e..56389ad 100644 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -2,7 +2,7 @@ set -e # Start API server in background -gunicorn "app:create_api_app()" --bind 0.0.0.0:5000 --workers 4 --access-logfile - & +gunicorn "app:create_api_app()" -c gunicorn_conf.py --bind 0.0.0.0:5000 --workers 4 --access-logfile - & # Start UI server in foreground -gunicorn "app:create_ui_app()" --bind 0.0.0.0:5100 --workers 4 --access-logfile - +gunicorn "app:create_ui_app()" -c gunicorn_conf.py --bind 0.0.0.0:5100 --workers 4 --access-logfile - diff --git a/gunicorn_conf.py b/gunicorn_conf.py new file mode 100644 index 0000000..3bec3cd --- /dev/null +++ b/gunicorn_conf.py @@ -0,0 +1,3 @@ +import gunicorn +gunicorn.SERVER_SOFTWARE = 'MyFSIO' +