From a2d8bb9418b7aa1d27820bcaff8f8908a5d1872c Mon Sep 17 00:00:00 2001 From: Jung Seonghun <80201773+seonghun-dev@users.noreply.github.com> Date: Sun, 10 Sep 2023 19:37:31 +0900 Subject: [PATCH 1/2] :sparkles: feat : add jenkins docker compose setup --- infra/jenkins/docker-compose.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 infra/jenkins/docker-compose.yml diff --git a/infra/jenkins/docker-compose.yml b/infra/jenkins/docker-compose.yml new file mode 100644 index 00000000..f73d04c5 --- /dev/null +++ b/infra/jenkins/docker-compose.yml @@ -0,0 +1,13 @@ +version: '3.9' + +services: + jenkins: + image: jenkins/jenkins:lts + container_name: jenkins_container + volumes: + - /var/run/docker.sock:/var/run/docker.sock + - /jenkins:/var/jenkins_home + ports: + - "8342:8080" + privileged: true + user: root \ No newline at end of file From c94e019cd39fc8efb39f38cba9a18993001ca409 Mon Sep 17 00:00:00 2001 From: Jung Seonghun <80201773+seonghun-dev@users.noreply.github.com> Date: Mon, 11 Sep 2023 01:22:24 +0900 Subject: [PATCH 2/2] :recycle: chore: fix container name - add prefix --- infra/jenkins/docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infra/jenkins/docker-compose.yml b/infra/jenkins/docker-compose.yml index f73d04c5..d09ccd8f 100644 --- a/infra/jenkins/docker-compose.yml +++ b/infra/jenkins/docker-compose.yml @@ -3,7 +3,7 @@ version: '3.9' services: jenkins: image: jenkins/jenkins:lts - container_name: jenkins_container + container_name: street-drop-jenkins volumes: - /var/run/docker.sock:/var/run/docker.sock - /jenkins:/var/jenkins_home