mirror of
https://github.com/RustyRaptor/deploy-sourcegraph-docker.git
synced 2026-12-03 15:55:17 -07:00
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:
1 parent
ae00d7d660
commit
a03ad50ea7
1 file changed
+1
@@ -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"
|
||||
Reference in new issue
Block a user