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 jenkins

peaklabs-dev0b2955c7d094
diff --git a/templates/compose/jenkins.yaml b/templates/compose/jenkins.yaml
index abeb4f9608..0606bb049c 100644
--- a/templates/compose/jenkins.yaml
+++ b/templates/compose/jenkins.yaml
@@ -9,9 +9,12 @@ services:
image: jenkins/jenkins:latest
environment:
- SERVICE_FQDN_JENKINS_8080
- ports:
- - "8080:8080"
- - "50000:50000"
volumes:
- jenkins-home:/var/jenkins_home
- /var/run/docker.sock:/var/run/docker.sock
+ healthcheck:
+ test: ["CMD", "curl", "-f", "http://localhost:8080/login"]
+ interval: 30s
+ timeout: 10s
+ retries: 3
+ start_period: 40s