2023-02-22 17:12:24 +08:00
|
|
|
version: '3'
|
|
|
|
services:
|
|
|
|
jenkins:
|
|
|
|
container_name: ${CONTAINER_NAME}
|
2023-12-28 16:17:25 +08:00
|
|
|
image: jenkins/jenkins:2.438
|
2023-03-11 12:27:32 +08:00
|
|
|
restart: always
|
2023-08-01 17:10:55 +08:00
|
|
|
privileged: true
|
2023-02-22 17:12:24 +08:00
|
|
|
user: root
|
|
|
|
ports:
|
|
|
|
- ${PANEL_APP_PORT_HTTP}:8080
|
|
|
|
volumes:
|
|
|
|
- ./jenkins:/var/jenkins_home
|
|
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
2023-08-01 17:08:58 +08:00
|
|
|
- ${DOCKER_BINARY}:${DOCKER_BINARY}
|
2023-02-22 17:12:24 +08:00
|
|
|
networks:
|
|
|
|
- 1panel-network
|
2023-03-30 14:26:29 +08:00
|
|
|
labels:
|
|
|
|
createdBy: "Apps"
|
2023-02-22 17:12:24 +08:00
|
|
|
networks:
|
|
|
|
1panel-network:
|
|
|
|
external: true
|