Partage par lien, comptes Authentik, soumission et moderation de packs, prerequis des sondes ; corrige le lien casse vers le script de l'editeur
build / Garde-fou (pull_request) Failing after 7s
build / Images Harbor (catalog-sync, Dockerfile.catalog-sync) (pull_request) Skipped
build / Images Harbor (web, Dockerfile) (pull_request) Skipped
build / Garde-fou (push) Failing after 8s
build / Images Harbor (catalog-sync, Dockerfile.catalog-sync) (push) Skipped
build / Images Harbor (web, Dockerfile) (push) Skipped
build / Garde-fou (pull_request) Failing after 7s
build / Images Harbor (catalog-sync, Dockerfile.catalog-sync) (pull_request) Skipped
build / Images Harbor (web, Dockerfile) (pull_request) Skipped
build / Garde-fou (push) Failing after 8s
build / Images Harbor (catalog-sync, Dockerfile.catalog-sync) (push) Skipped
build / Images Harbor (web, Dockerfile) (push) Skipped
This commit is contained in:
1 parent
3f0046c208
commit
b063d59525
34 files changed
+2216
-26
No files matched your search
@@ -0,0 +1,23 @@
|
||||
#!/bin/sh
|
||||
# Demarrage de l'application.
|
||||
#
|
||||
# Les migrations tournent avant gunicorn, et un echec arrete le conteneur :
|
||||
# une base a moitie migree derriere une application qui repond serait pire
|
||||
# qu'une indisponibilite visible.
|
||||
set -eu
|
||||
|
||||
if [ -n "${ENCLUME_DATABASE_URL:-}" ]; then
|
||||
echo "enclume : migration de la base"
|
||||
alembic upgrade head
|
||||
else
|
||||
echo "enclume : aucune base configuree, mode sans etat"
|
||||
fi
|
||||
|
||||
exec gunicorn \
|
||||
--bind 0.0.0.0:8080 \
|
||||
--workers "${GUNICORN_WORKERS:-2}" \
|
||||
--timeout "${GUNICORN_TIMEOUT:-30}" \
|
||||
--access-logfile - \
|
||||
--error-logfile - \
|
||||
--forwarded-allow-ips '*' \
|
||||
'enclume.webapp:create_app()'
|
||||
Reference in new issue
Block a user