From 1ea0db475f399c3d1a841bbcfe8e19518e88506f Mon Sep 17 00:00:00 2001 From: Sytse Sijbrandij Date: Fri, 10 Jul 2015 18:43:32 +0200 Subject: Add volumes to marathon file. --- docker/marathon.json | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) (limited to 'docker') diff --git a/docker/marathon.json b/docker/marathon.json index d23c2b84e0e..2f3bb6f17b4 100644 --- a/docker/marathon.json +++ b/docker/marathon.json @@ -9,6 +9,23 @@ "docker": { "network": "HOST", "image": "sytse/gitlab-ce:7.10.1" - } + }, + "volumes": [ + { + "containerPath": "/etc/gitlab", + "hostPath": "/var/data/etc/gitlab", + "mode": "RW" + }, + { + "containerPath": "/var/opt/gitlab", + "hostPath": "/var/data/opt/gitlab", + "mode": "RW" + }, + { + "containerPath": "/var/log/gitlab", + "hostPath": "/var/data/log/gitlab", + "mode": "RW" + } + ] } } \ No newline at end of file -- cgit v1.2.3