Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jkaninda/jenkins
Jenkins with docker client
https://github.com/jkaninda/jenkins
Last synced: 10 days ago
JSON representation
Jenkins with docker client
- Host: GitHub
- URL: https://github.com/jkaninda/jenkins
- Owner: jkaninda
- Created: 2023-05-21T11:57:57.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-25T06:28:51.000Z (11 months ago)
- Last Synced: 2024-04-30T11:52:23.017Z (7 months ago)
- Language: Dockerfile
- Size: 8.79 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# jenkins
Jenkins with docker client[![Build](https://github.com/jkaninda/jenkins/actions/workflows/build.yml/badge.svg)](https://github.com/jkaninda/jenkins/actions/workflows/build.yml)
![Docker Image Size (latest by date)](https://img.shields.io/docker/image-size/jkaninda/jenkins?style=flat-square)
![Docker Pulls](https://img.shields.io/docker/pulls/jkaninda/jenkins?style=flat-square)- [Docker Hub](https://hub.docker.com/r/jkaninda/jenkins)
- [Github](https://github.com/jkaninda/jenkins)## Tools:
- docker client
- helm
- kustomize
- jq
- k6
## Docker compose file :
```yaml
version: '3.7'
services:
jenkins:
image: jkaninda/jenkins:lts
container_name: jenkins
user: root
ports:
- 8080:8080
- 50000:50000
volumes:
- ./data:/var/jenkins_home
- /var/run/docker.sock:/var/run/docker.sock
```
## Run
```sh
docker compose up -d
``````yaml
version: '3.7'
services:
jenkins:
image: jkaninda/jenkins:lts
user: root
ports:
- 8080:8080
- 50000:50000
volumes:
- data:/var/jenkins_home
- /var/run/docker.sock:/var/run/docker.sock
deploy:
mode: replicated
replicas: 1
restart_policy:
condition: on-failure
placement:
constraints:
- node.role == manager
healthcheck:
test: ["CMD-SHELL", "curl -sS http://localhost:8080/login || exit 1"]
interval: 30s
timeout: 10s
retries: 5
volumes:
data:```