-
-
Save harimau99/aadf772a134d9edb3d81286f7edff93f to your computer and use it in GitHub Desktop.
Revisions
-
ljdelight created this gist
Apr 24, 2017 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,32 @@ # # Simple docker-compose file for Gitlab CE and a Jenkins master. # This is for testing and builds are done on the jenkins master. # version: "2" services: gitlab: image: "gitlab/gitlab-ce:8.15.2-ce.0" container_name: "gitlab" restart: "always" hostname: "gitlab" ports: - "8081:80" volumes: - "/opt/automation/gitlab/config:/etc/gitlab" - "/opt/automation/gitlab/logs:/var/log/gitlab" - "/opt/automation/gitlab/data:/var/opt/gitlab" environment: GITLAB_OMNIBUS_CONFIG: | external_url "http://gitlab" jenkins-master: image: "jenkins:2.19.4" container_name: "jenkins-master" restart: "always" ports: - "8080:8080" - "50000:50000" volumes: - "/opt/automation/jenkins-master:/var/jenkins_home"