Self-host Jenkins with Levelrail
The long-running automation server for building, testing, and deploying with thousands of plugins.
- Authorjenkinsci
- LicenceMIT
- Memory1 GiB
- Archarm64
- Services1
How to self-host Jenkins
-
Pull the images
One image is pulled on your server.
Show images
jenkins/jenkins:2.583
-
Create the app
One service starts in a single Compose app, with 1 named volume mount for your data, on ports 8080, 50000.
-
Fill in the secrets
You do not have to fill in anything.
-
Open it
Without a domain the app gets an sslip.io address; add --domain SERVICE=HOST to use your own.
Jenkins requirements
- Memory
- About 1 GiB
- Architectures
- amd64 image published, arm64 image published
- Ports
- 8080, 50000
- Domain
- Optional, an sslip.io address is used without one
- Settings
- none to fill in
- License
- MIT, permissive license
- Listed. It is in the catalog but not verified. Back up the data volume before changing an image tag.
- Host ports. It publishes ports 8080, 50000 on the host, so open them in the VPS firewall only if you want that.
Install Levelrail first
On a server with Levelrail running, run the command above, or open the dashboard: Apps, New app, Browse templates, then Jenkins. New to Levelrail? Install it on a fresh VPS first.
docker pull ghcr.io/glincker/levelrail:latest Then levelrail-cli login --device. See Getting started and the Jenkins docs page.
Deploy Jenkins your way
Every format below deploys the same pinned images. Pick the one that fits how you work.
Deploy Jenkins from the CLI
levelrail-cli templates deploy jenkins --name my-jenkins Deploy Jenkins with the API
curl -X POST -H "Authorization: Bearer $TOKEN" \
https://levelrail.example.com/api/v1/service-templates/jenkins/deploy Jenkins configuration
Jenkins services
| Service | Image | Ports | Volumes |
|---|---|---|---|
| jenkins | jenkins/jenkins:2.583 | 8080, 50000 | jenkins_home -> /var/jenkins_home |
Jenkins environment variables
The catalog lists no environment variables for this template.
Ports and volumes
- Ports
- 8080, 50000
- Volumes
- 1 named mount: jenkins_home -> /var/jenkins_home
Jenkins FAQ
How much memory does Jenkins need?
The catalog lists about 1 GiB of memory for Jenkins.
Does Jenkins run on arm64?
For Jenkins, an arm64 image is published; amd64 is image published.
What licence is Jenkins under?
Jenkins is licensed under MIT, which is permissive, with few conditions on reuse.
Does Jenkins need configuration before it starts?
No. The template fills in its own defaults.
Which ports does Jenkins use?
Jenkins listens on ports 8080 and 50000 inside the stack.
Where does Jenkins keep its data?
In a named volume: jenkins_home mounted at /var/jenkins_home.
Can I deploy Jenkins on Dokploy or Dokku?
The services and pinned images on this page can be run on any Docker host. The public Dokploy templates list has an entry with the id jenkins for this app, so check that entry as well. Dokku deploys container images with its own commands, so the pinned image jenkins/jenkins:2.583 is what you deploy there.