From 8182a3d62a36affd78bc0dc8e964659be7917f90 Mon Sep 17 00:00:00 2001 From: Jens Reimann Date: Thu, 26 Sep 2024 08:42:13 +0200 Subject: [PATCH] chore: add retry to dump download --- compose.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compose.yaml b/compose.yaml index 694af1d..01b357d 100644 --- a/compose.yaml +++ b/compose.yaml @@ -102,7 +102,7 @@ services: echo "Importing dump" - curl -sSL https://trustify-dumps.dentrassi.de/dump.sql.gz -o dump.sql.gz + curl --retry 50 --retry-max-time 3600 -sSL https://trustify-dumps.dentrassi.de/dump.sql.gz -o dump.sql.gz zcat dump.sql.gz | psql echo "VACUUM ANALYZE; REINDEX database trustify;" | psql