Created
January 23, 2023 21:28
-
-
Save michalkorzawski/314871428eefabd7d2a280f4d021be2a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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