Skip to content

Commit

Permalink
Moving repo root to shorter path
Browse files Browse the repository at this point in the history
  • Loading branch information
marcleblanc2 committed Dec 18, 2024
1 parent a2aa9db commit 475bc74
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 10 deletions.
4 changes: 1 addition & 3 deletions config/docker-compose-common-services.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: '2.4'

services:

cloud-agent:
Expand All @@ -18,7 +16,7 @@ services:
container_name: src-serve-git-ubuntu.local
image: index.docker.io/sourcegraph/src-cli:latest
volumes:
- ../src-serve-root/:/sourcegraph/src-serve-root:ro
- ../../repos/:/sourcegraph/src-serve-root:ro
command: "serve-git -addr :443 /sourcegraph/src-serve-root"
restart: always
networks:
Expand Down
2 changes: 1 addition & 1 deletion repo-converter/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ Provides a framework to convert non-Git repos into Git format, and in combinatio
- Type: src serve-git
- `"url": "http://src-serve-git-ubuntu.local:443",`
- Match the src serve-git container's Docker container name and listening port number from the `docker-compose.yaml`
8. The repo-converter will output the converted repos in the `src-serve-root` directory, where src serve-git will serve them from
8. The repo-converter will output the converted repos in the `src-serve-root` directory, where src serve-git will serve them from

### Kubernetes
Coming soon
Expand Down
4 changes: 1 addition & 3 deletions repo-converter/build/docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: '2.4'

include:
- path:
- ../../config/docker-compose-common-services.yaml
Expand All @@ -16,7 +14,7 @@ services:
volumes:
- ../../config/repos-to-convert.yaml:/sourcegraph/repos-to-convert.yaml:ro
- ../../config/toprc:/root/.config/procps/toprc
- ../../src-serve-root/:/sourcegraph/src-serve-root
- ../../../repos/:/sourcegraph/src-serve-root
environment:
- REPO_CONVERTER_INTERVAL_SECONDS=60
- LOG_LEVEL=DEBUG # DEBUG INFO WARNING ERROR CRITICAL # Default is INFO
Expand Down
4 changes: 1 addition & 3 deletions repo-converter/docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: '2.4'

include:
- path:
- ../config/docker-compose-common-services.yaml
Expand All @@ -13,7 +11,7 @@ services:
volumes:
- ../config/repos-to-convert.yaml:/sourcegraph/repos-to-convert.yaml:ro
- ../config/toprc:/root/.config/procps/toprc
- ../src-serve-root/:/sourcegraph/src-serve-root
- ../../repos/:/sourcegraph/src-serve-root
restart: always
environment:
- REPO_CONVERTER_INTERVAL_SECONDS=900
Expand Down

0 comments on commit 475bc74

Please sign in to comment.