chore(docker): update jenkins, upgrade safety and add ssh support

This commit is contained in:
2026-01-27 15:23:08 +00:00
parent a61ae8e770
commit 41c68233fc
3 changed files with 5 additions and 2 deletions

View File

@@ -4,6 +4,7 @@ services:
image: jenkins-docker
container_name: jenkins
restart: always
user: "1001:1001"
volumes:
- home:/var/jenkins_home
- /run/user/1001/docker.sock:/run/user/1001/docker.sock #rootless
@@ -12,7 +13,6 @@ services:
- /etc/localtime:/etc/localtime:ro
environment:
- DOCKER_HOST=unix:///run/user/1001/docker.sock #rootless
- JAVA_OPTS=-Dhudson.model.DirectoryBrowserSupport.CSP="default-src 'self' 'unsafe-inline' 'unsafe-eval'; img-src 'self' data:; style-src 'self' 'unsafe-inline';" #allow JS for lighthouse reports
networks:
- reverse-proxy