Created
September 17, 2022 12:37
-
-
Save broland07/c999c8b63275da6656360755fd8aa237 to your computer and use it in GitHub Desktop.
Jenkins docker-compose
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3.3' | |
services: | |
jenkins: | |
image: jenkins/jenkins:lts | |
restart: unless-stopped | |
privileged: true | |
user: root | |
ports: | |
- 8080:8080 | |
container_name: jenkins | |
volumes: | |
- ~/jenkins:/var/jenkins_home | |
- /var/run/docker.sock:/var/run/docker.sock | |
- /usr/local/bin/docker:/usr/local/bin/docker |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment