Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

fix(service): nextcloud workers exhaustion due to low interval healthcheck

ShadowArcanist606a860e975b
diff --git a/templates/compose/nextcloud-with-mariadb.yaml b/templates/compose/nextcloud-with-mariadb.yaml
index 42ee522743..60703f862a 100644
--- a/templates/compose/nextcloud-with-mariadb.yaml
+++ b/templates/compose/nextcloud-with-mariadb.yaml
@@ -29,7 +29,7 @@ services:
condition: service_healthy
healthcheck:
test: ["CMD", "curl", "-f", "http://127.0.0.1:80"]
- interval: 2s
+ interval: 30s
timeout: 10s
retries: 15
diff --git a/templates/compose/nextcloud-with-mysql.yaml b/templates/compose/nextcloud-with-mysql.yaml
index e6512deedd..7d3027b9d5 100644
--- a/templates/compose/nextcloud-with-mysql.yaml
+++ b/templates/compose/nextcloud-with-mysql.yaml
@@ -29,7 +29,7 @@ services:
condition: service_healthy
healthcheck:
test: ["CMD", "curl", "-f", "http://127.0.0.1:80"]
- interval: 2s
+ interval: 30s
timeout: 10s
retries: 15
diff --git a/templates/compose/nextcloud-with-postgres.yaml b/templates/compose/nextcloud-with-postgres.yaml
index b3eaaa8534..b720704e29 100644
--- a/templates/compose/nextcloud-with-postgres.yaml
+++ b/templates/compose/nextcloud-with-postgres.yaml
@@ -29,7 +29,7 @@ services:
condition: service_healthy
healthcheck:
test: ["CMD", "curl", "-f", "http://127.0.0.1:80"]
- interval: 2s
+ interval: 30s
timeout: 10s
retries: 15
diff --git a/templates/compose/nextcloud.yaml b/templates/compose/nextcloud.yaml
index dfdf5dba30..84c0cf5c27 100644
--- a/templates/compose/nextcloud.yaml
+++ b/templates/compose/nextcloud.yaml
@@ -18,6 +18,6 @@ services:
- nextcloud-data:/data
healthcheck:
test: ["CMD", "curl", "-f", "http://127.0.0.1:80"]
- interval: 2s
+ interval: 30s
timeout: 10s
retries: 15