appstore-1panel/apps/jenkins/versions/2.391/docker-compose.yml

23 lines
480 B
YAML
Raw Normal View History

version: '3'
services:
jenkins:
container_name: ${CONTAINER_NAME}
image: jenkins/jenkins:2.391
restart: always
privileged: true
user: root
ports:
- ${PANEL_APP_PORT_HTTP}:8080
volumes:
- ./jenkins:/var/jenkins_home
- /var/run/docker.sock:/var/run/docker.sock
- /usr/local/bin/docker:/usr/local/bin/docker
networks:
- 1panel-network
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true