Skip to content

QuickLifeSolutions/jenkins-on-pi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jenkins on Raspberry Pi (Portainer Stack)

Compose stack for Jenkins with JCasC and GitHub Organization Folder discovery.

Published image: melamchk/jenkins-on-pi:1.2.0 (Docker Hub).

Required environment

Set the <pi-host> placeholder in casc/jenkins.yaml (organization defaults to QuickLifeSolutions), then provide the following variables (via Portainer, .env, or your orchestrator):

  • ADMIN_PASSWORD — initial Jenkins admin password.
  • GITHUB_TOKEN — PAT with repo + admin:repo_hook, used for the shared library and automated pushes (username defaults to x-access-token).
  • JENKINS_URL — externally reachable base URL for the controller (e.g. https://jenkins.example.com/).
  • APIFY_TOKEN_DEV / APIFY_TOKEN_PROD — deployment credentials consumed by the shared library.
  • DOCKER_GID — host Docker group id (e.g. $(getent group docker | cut -d: -f3)) so the non-root jenkins user can access /var/run/docker.sock.

Store the EC2 agent key on the host as /home/chaithupi5/.ssh/jenkins-agent (mode 600). The compose file bind-mounts this file into the container at /var/jenkins_home/external-keys/jenkins-agent (read-only), and the init script reads it to provision the aws-ec2-agent credential at startup.

Redeploying the stack will reconcile any manual Portainer edits with these declarative settings.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors