correctly mount the gitserver repo mirroring disk

Prior to this change, the gitserver disk was not properly mounted which meant
that on restart gitserver would have to clone the repository in full from the
code host again, rather than using its on-disk mirror which is much faster.

This was an oversight, but easily fixed by just properly mounting the disk.
This commit is contained in:
Stephen Gutekanst committed 2019-01-07 20:36:20 -07:00
1 parent ae00d7d660
commit a03ad50ea7
1 file changed
+1
+1
View File
@@ -16,6 +16,7 @@ docker run --detach \
--network=sourcegraph \
--restart=always \
-e SRC_FRONTEND_INTERNAL=sourcegraph-frontend-internal:3090 \
-v ~/sourcegraph-docker/gitserver-0-disk:/data/repos \
sourcegraph/gitserver:3.0.0-alpha.8
echo "Deployed gitserver service"