slight changes
This commit is contained in:
+10
-1
@@ -133,6 +133,15 @@ compose() {
|
||||
"${DOCKER_CMD[@]}" compose --env-file "$SECRETS_FILE" "$@"
|
||||
}
|
||||
|
||||
build_website_image() {
|
||||
if compose build website; then
|
||||
return 0
|
||||
fi
|
||||
|
||||
echo "[WARNUNG] Standard-Build fehlgeschlagen, versuche Legacy-Build ohne BuildKit erneut..." >&2
|
||||
DOCKER_BUILDKIT=0 COMPOSE_DOCKER_CLI_BUILD=0 compose build website
|
||||
}
|
||||
|
||||
export SESSION_COOKIE_SECURE="0"
|
||||
export INSTANCE_TLS_MODE="development"
|
||||
export INSTANCE_PARENT_DOMAIN="${INSTANCE_PARENT_DOMAIN:-meine-domain}"
|
||||
@@ -154,7 +163,7 @@ fi
|
||||
|
||||
resolve_docker_cmd
|
||||
|
||||
compose build website
|
||||
build_website_image
|
||||
compose up -d mongodb
|
||||
wait_for_mongo_ready
|
||||
ensure_mongo_app_user
|
||||
|
||||
Reference in New Issue
Block a user