appstore-1panel/apps/jenkins/2.414/docker-compose.yml
2023-07-13 15:34:02 +08:00

22 lines
479 B
YAML

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