Created
August 23, 2015 03:18
-
-
Save thatnerdjosh/d26a95fd2d10c60a8c79 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
--- | |
- hosts: local | |
tasks: | |
- name: Go.cd Data Container | |
docker: | |
name: gocd-data | |
image: gocd/gocd-server | |
state: present | |
volumes: | |
- /usr/log/go-server | |
- /usr/lib/go-server | |
- /etc/go | |
- name: Go.cd Deployment Server | |
docker: | |
name: gocd | |
image: gocd/gocd-server | |
state: started | |
volumes_from: | |
- gocd-data | |
ports: | |
- "8153:8153" | |
- name: Gitlab Data Container | |
docker: | |
name: gitlab-data | |
image: gitlab/gitlab-ce | |
state: present | |
volumes: | |
- /etc/gitlab | |
- /var/log/gitlab | |
- /var/opt/gitlab | |
- name: Gitlab Server | |
docker: | |
name: gitlab | |
image: gitlab/gitlab-ce | |
state: started | |
volumes_from: | |
- gitlab-data | |
ports: | |
- "8080:80" | |
- "2222:22" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment