Skip to content

Instantly share code, notes, and snippets.

@ChettaDarkkill
Last active July 24, 2020 16:08
Show Gist options
  • Save ChettaDarkkill/129cb50b9758563ade91ec99b329cced to your computer and use it in GitHub Desktop.
Save ChettaDarkkill/129cb50b9758563ade91ec99b329cced to your computer and use it in GitHub Desktop.
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