-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactoring directory layout, resetting ports to default (#13)
* Refactor directory layout * Giving up on changing default port 443 to 80, sticking with default
- Loading branch information
1 parent
f2ac843
commit 05518a8
Showing
25 changed files
with
111 additions
and
334 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
version: '2.4' | ||
|
||
services: | ||
|
||
cloud-agent: | ||
container_name: cloud-agent | ||
image: index.docker.io/sourcegraph/src-tunnel-agent:2024-02-05-22-28-333320ee | ||
volumes: | ||
- ../config/cloud-agent-service-account-key.json:/sourcegraph/cloud-agent-service-account-key.json:ro | ||
- ../config/cloud-agent-config.yaml:/sourcegraph/cloud-agent-config.yaml:ro | ||
command: ["-config=/sourcegraph/cloud-agent-config.yaml"] | ||
restart: always | ||
networks: | ||
- sourcegraph | ||
|
||
src-serve-git: | ||
# Uses a valid hostname as container_name, to trick the cloud agent and code host config into finding this container on the Docker network | ||
container_name: src-serve-git-ubuntu.local | ||
image: index.docker.io/sourcegraph/src-cli:latest | ||
volumes: | ||
- ../src-serve-root/:/sourcegraph/src-serve-root:ro | ||
command: "serve-git -addr :443 /sourcegraph/src-serve-root" | ||
networks: | ||
- sourcegraph | ||
|
||
networks: | ||
sourcegraph: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
version: '2.4' | ||
|
||
services: | ||
|
||
cloud-agent: | ||
container_name: cloud-agent | ||
image: index.docker.io/sourcegraph/src-tunnel-agent:2024-02-05-22-28-333320ee | ||
volumes: | ||
- ../config/cloud-agent-service-account-key.json:/sourcegraph/cloud-agent-service-account-key.json:ro | ||
- ../config/cloud-agent-config.yaml:/sourcegraph/cloud-agent-config.yaml:ro | ||
command: ["-config=/sourcegraph/cloud-agent-config.yaml"] | ||
restart: always | ||
networks: | ||
- sourcegraph | ||
|
||
src-serve-git: | ||
# Uses a valid hostname as container_name, to trick the cloud agent and code host config into finding this container on the Docker network | ||
container_name: src-serve-git-wsl.local | ||
image: index.docker.io/sourcegraph/src-cli:latest | ||
volumes: | ||
- ../src-serve-root/:/sourcegraph/src-serve-root:ro | ||
command: "serve-git -addr :443 /sourcegraph/src-serve-root" | ||
networks: | ||
- sourcegraph | ||
|
||
networks: | ||
sourcegraph: |
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
version: '2.4' | ||
|
||
services: | ||
|
||
repo-converter: | ||
container_name: repo-converter | ||
build: | ||
context: . | ||
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 | ||
environment: | ||
- BRIDGE_REPO_CONVERTER_INTERVAL_SECONDS=10 | ||
- LOG_LEVEL=DEBUG # DEBUG INFO WARNING ERROR CRITICAL # Default is INFO |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
version: '2.4' | ||
|
||
services: | ||
|
||
repo-converter: | ||
container_name: repo-converter | ||
image: ghcr.io/sourcegraph/implementation-bridge-repo-converter:insiders | ||
volumes: | ||
- ../config/repos-to-convert.yaml:/sourcegraph/repos-to-convert.yaml:ro | ||
- ../src-serve-root/:/sourcegraph/src-serve-root" | ||
restart: always | ||
environment: | ||
- BRIDGE_REPO_CONVERTER_INTERVAL_SECONDS=3600 | ||
- LOG_LEVEL=INFO # DEBUG INFO WARNING ERROR CRITICAL # Default is INFO |
Oops, something went wrong.