Skip to content

Instantly share code, notes, and snippets.

@Nunocky
Last active July 28, 2023 02:28
Show Gist options
  • Save Nunocky/69f12b0c21b7a1b912377a1534e38299 to your computer and use it in GitHub Desktop.
Save Nunocky/69f12b0c21b7a1b912377a1534e38299 to your computer and use it in GitHub Desktop.
gitbucket + jenkins
version: "3.9"
services:
jenkins:
image: jenkins/jenkins:lts
container_name: jenkins
ports:
- "8080:8080"
- "50000:50000"
volumes:
- ./jenkins_home:/var/lib/jenkins_home
networks:
- jg_network
environment:
- JAVA_OPTS=-Duser.timezone=Asia/Tokyo -Dfile.encoding=UTF-8
gitbucket:
image: gitbucket/gitbucket
container_name: gitbucket
ports:
- "29418:29418"
- "8081:8080"
volumes:
- ./gitbucket_data:/gitbucket
networks:
- jg_network
networks:
jg_network:
driver: bridge
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment