appstore-1panel/apps/jenkins/2.416/docker-compose.yml

22 lines
479 B
YAML
Raw Normal View History

version: '3'
services:
jenkins:
container_name: ${CONTAINER_NAME}
image: jenkins/jenkins:2.416
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