2023-02-22 17:12:24 +08:00
|
|
|
services:
|
|
|
|
jenkins:
|
|
|
|
container_name: ${CONTAINER_NAME}
|
2024-09-05 10:19:02 +08:00
|
|
|
image: jenkins/jenkins:2.462.2-lts
|
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:
|
2024-03-08 12:01:10 +08:00
|
|
|
- ./data:/var/jenkins_home
|
2023-02-22 17:12:24 +08:00
|
|
|
- /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
|