refactor: 取消 Jenkins 特权模式选项

This commit is contained in:
wanghe-fit2cloud 2023-08-01 17:10:55 +08:00
parent 4a70b84230
commit cac33de24d
2 changed files with 1 additions and 13 deletions

View File

@ -1,17 +1,5 @@
additionalProperties:
formFields:
- default: "true"
disabled: true
envKey: PRIVILEGED
labelEn: Privileged
labelZh: 特权模式
required: true
type: select
values:
- label: 开启
value: "true"
- label: 关闭
value: "false"
- default: /usr/bin/docker
edit: true
envKey: DOCKER_BINARY

View File

@ -4,7 +4,7 @@ services:
container_name: ${CONTAINER_NAME}
image: jenkins/jenkins:2.416
restart: always
privileged: ${PRIVILEGED}
privileged: true
user: root
ports:
- ${PANEL_APP_PORT_HTTP}:8080