Add Jenkins setup

This commit is contained in:
jose-rZM
2025-12-20 18:18:29 +01:00
parent 3886e3f1a0
commit 6de3411fb5
2 changed files with 38 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
version: "3.9"
services:
jenkins:
build:
context: .
dockerfile: Dockerfile.jenkins
container_name: jenkins
ports:
- "8080:8080"
- "50000:50000"
volumes:
- jenkins_home:/var/jenkins_home
- /var/run/docker.sock:/var/run/docker.sock
group_add:
- "${DOCKER_GID}"
networks:
- ci-net
restart: unless-stopped
volumes:
jenkins_home:
networks:
ci-net:
external: true