jenkins:
image: jenkins/jenkins:lts
container_name: compose_jenkins
user: root
restart: always
ports:
- 28080:8080
volumes:
- /home/jenkins_home/:/var/jenkins_home
- /usr/local/bin/docker-compose:/usr/local/bin/docker-compose
networks:
- dockernet