Skip to content

Commit

Permalink
fix jenkins
Browse files Browse the repository at this point in the history
  • Loading branch information
peaklabs-dev committed Nov 1, 2024
1 parent ee8f96b commit 0b2955c
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions templates/compose/jenkins.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 0b2955c

Please sign in to comment.