summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSytse Sijbrandij <sytse@gitlab.com>2015-07-10 18:43:32 +0200
committerSytse Sijbrandij <sytse@gitlab.com>2015-07-10 18:43:32 +0200
commit1ea0db475f399c3d1a841bbcfe8e19518e88506f (patch)
treea56335510e6c7f9f2b0f784ceb29f6d32476369b
parent14b7a8b886b90afba29fc67a7d28ba7aaf3c0163 (diff)
downloadgitlab-ce-1ea0db475f399c3d1a841bbcfe8e19518e88506f.tar.gz
Add volumes to marathon file.
-rw-r--r--docker/marathon.json19
1 files changed, 18 insertions, 1 deletions
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