Skip to content

Instantly share code, notes, and snippets.

@michalkorzawski
Created January 23, 2023 21:28
Show Gist options
  • Save michalkorzawski/314871428eefabd7d2a280f4d021be2a to your computer and use it in GitHub Desktop.
Save michalkorzawski/314871428eefabd7d2a280f4d021be2a to your computer and use it in GitHub Desktop.
version: '3.8'
services:
jenkins:
image: jenkins/jenkins:jdk11
environment:
- JAVA_OPTS=-Dhudson.plugins.git.GitSCM.ALLOW_LOCAL_CHECKOUT=true -Dhudson.security.csrf.GlobalCrumbIssuerConfiguration.DISABLE_CSRF_PROTECTION=true
ports:
- 8080:8080
volumes:
- jenkins_home:/var/jenkins_home
- ../your_app:/var/jenkins_home/your_app:ro
volumes:
jenkins_home:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment