summaryrefslogtreecommitdiff
path: root/gitlab-server-cluster.morph
diff options
context:
space:
mode:
authorAdam Coldrick <adam.coldrick@codethink.co.uk>2014-05-13 15:00:47 +0000
committerAdam Coldrick <adam.coldrick@codethink.co.uk>2014-05-16 09:54:19 +0000
commit8b769d3b971e27e2ba1a24267c37c4b2de443e91 (patch)
treee9a10d52ffa8b73df615cd5901f83ed7ee2d957c /gitlab-server-cluster.morph
parentfe63e595308d3798b1a1240687c06ebcbeea6ac4 (diff)
downloaddefinitions-8b769d3b971e27e2ba1a24267c37c4b2de443e91.tar.gz
Add a system and cluster morphology for a GitLab server
Diffstat (limited to 'gitlab-server-cluster.morph')
-rw-r--r--gitlab-server-cluster.morph22
1 files changed, 22 insertions, 0 deletions
diff --git a/gitlab-server-cluster.morph b/gitlab-server-cluster.morph
new file mode 100644
index 00000000..09ff4869
--- /dev/null
+++ b/gitlab-server-cluster.morph
@@ -0,0 +1,22 @@
+kind: cluster
+name: gitlab-server-cluster
+systems:
+- morph: gitlab-server
+ deploy-defaults:
+ AUTOSTART: no
+ DISK_SIZE: 6G
+ RAM_SIZE: 2G
+ VCPUS: 2
+ VERSION_LABEL: factory
+ deploy:
+ gitlab:
+ type: kvm
+ location: kvm+ssh://USER@HOST/gitlab/home/USER/gitlab.img
+ HOSTNAME: gitlab
+ GITLAB_HOSTNAME: gitlab.example.com
+ GITLAB_PORT: 80
+ GITLAB_EMAIL: gitlab@gitlab.example.com
+ UNICORN_PORT: 8080
+ CI_PORT: 81
+ UNICORN_CI_PORT: 8081
+ INSTALL_FILES: gitlab-server/manifest