17 lines
292 B
YAML

---
version: "3.8"
services:
jenkins:
image: jenkins/jenkins:latest
container_name: jenkins
hostname: jenkins
network_mode: bridge
ports:
- 50000
- 8080
restart: unless-stopped
volumes:
- jenkins_data:/var/jenkins_home
volumes:
jenkins_data: