From 1b7fed4718b7f51bd5b73b9416a5689b3b3d4c9e Mon Sep 17 00:00:00 2001 From: retropikzel Date: Sat, 28 Sep 2024 14:47:13 +0300 Subject: [PATCH] Change the data directory --- docker-compose.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 94e9536..75a0b8e 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -9,7 +9,7 @@ services: - ./jenkins.yml:/jenkins.yml - ./id_rsa:/secrets/id_rsa - ./adminpassword:/secrets/adminpassword - - jenkins-data:/var/jenkins_home + - /home/jenkins/jenkins-data:/var/jenkins_home ports: - 8080:8080 jenkins-agent: @@ -21,6 +21,3 @@ services: DOCKER_GROUP: '${DOCKER_GROUP}' volumes: - /var/run/docker.sock:/var/run/docker.sock:ro - -volumes: - jenkins-data: