
Each worker now uses its own registry instead of the global REGISTRY to avoid duplicate metric registration, since metrics are served from the database.
4 lines
No EOL
147 B
Bash
4 lines
No EOL
147 B
Bash
#!/bin/sh
|
|
|
|
flask db upgrade
|
|
gunicorn "$FLASK_APP".__init__:app -w "$GUNICORN_WORKERS" --access-logfile=- -b "$GUNICORN_RUN_HOST:$GUNICORN_RUN_PORT" |