Last active
July 24, 2020 16:08
-
-
Save ChettaDarkkill/129cb50b9758563ade91ec99b329cced to your computer and use it in GitHub Desktop.
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' | |
services: | |
jenkins: | |
image: jenkins/jenkins:latest | |
restart: always | |
ports: | |
- 1112:8080 | |
volumes: | |
- /var/run/docker.sock:/var/run/docker.sock | |
- /usr/bin/docker:/usr/bin/docker | |
- /usr/local/bin/docker-compose:/usr/local/bin/docker-compose | |
- jenkins-volume:/var/jenkins_home | |
- /etc/timezone:/etc/timezone | |
logging: | |
driver: json-file | |
options: | |
max-size: 5m | |
max-file: '5' | |
volumes: | |
jenkins-volume: {} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment