Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions docker-compose/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ services:
- no-new-privileges:true
command: ['up']
environment:
- DEPLOY_TYPE=docker-compose
- PGHOST=pgsql
- PGPORT=5432
- PGUSER=sg
Expand Down Expand Up @@ -235,6 +236,7 @@ services:
- no-new-privileges:true
env_file: sourcegraph-uploads.env
environment:
- DEPLOY_TYPE=docker-compose
- 'SRC_FRONTEND_INTERNAL=sourcegraph-frontend-internal:3090'
- 'OTEL_EXPORTER_OTLP_ENDPOINT=http://otel-collector:4317'
volumes:
Expand All @@ -260,6 +262,7 @@ services:
security_opt:
- no-new-privileges:true
environment:
- DEPLOY_TYPE=docker-compose
- 'HOSTNAME=zoekt-webserver-0:6070'
- 'SRC_FRONTEND_INTERNAL=http://sourcegraph-frontend-internal:3090'
- 'OPENTELEMETRY_DISABLED=false'
Expand All @@ -285,6 +288,7 @@ services:
security_opt:
- no-new-privileges:true
environment:
- DEPLOY_TYPE=docker-compose
- 'HOSTNAME=zoekt-webserver-0:6070'
- 'OPENTELEMETRY_DISABLED=false'
- 'OTEL_EXPORTER_OTLP_ENDPOINT=http://otel-collector:4317'
Expand Down Expand Up @@ -315,6 +319,7 @@ services:
- no-new-privileges:true
env_file: sourcegraph-uploads.env
environment:
- DEPLOY_TYPE=docker-compose
- 'SRC_FRONTEND_INTERNAL=sourcegraph-frontend-internal:3090'
- 'OTEL_EXPORTER_OTLP_ENDPOINT=http://otel-collector:4317'
healthcheck:
Expand Down Expand Up @@ -342,6 +347,7 @@ services:
- no-new-privileges:true
env_file: sourcegraph-uploads.env
environment:
- DEPLOY_TYPE=docker-compose
- 'SRC_FRONTEND_INTERNAL=sourcegraph-frontend-internal:3090'
- 'OTEL_EXPORTER_OTLP_ENDPOINT=http://otel-collector:4317'
healthcheck:
Expand Down Expand Up @@ -369,6 +375,7 @@ services:
- no-new-privileges:true
env_file: sourcegraph-uploads.env
environment:
- DEPLOY_TYPE=docker-compose
- 'SRC_FRONTEND_INTERNAL=sourcegraph-frontend-internal:3090'
- 'OTEL_EXPORTER_OTLP_ENDPOINT=http://otel-collector:4317'
- 'SRC_GIT_SERVERS=gitserver-0:3178'
Expand All @@ -395,6 +402,7 @@ services:
- no-new-privileges:true
env_file: sourcegraph-uploads.env
environment:
- DEPLOY_TYPE=docker-compose
- 'SRC_FRONTEND_INTERNAL=sourcegraph-frontend-internal:3090'
- 'OTEL_EXPORTER_OTLP_ENDPOINT=http://otel-collector:4317'
healthcheck:
Expand All @@ -420,6 +428,8 @@ services:
mem_limit: '6g'
security_opt:
- no-new-privileges:true
environment:
- DEPLOY_TYPE=docker-compose
healthcheck:
test: "wget -q 'http://127.0.0.1:9238/health' -O /dev/null || exit 1"
interval: 5s
Expand Down Expand Up @@ -717,6 +727,8 @@ services:
mem_limit: '1g'
security_opt:
- no-new-privileges:true
environment:
- DEPLOY_TYPE=docker-compose
healthcheck:
test: ['CMD', 'curl', '-f', 'http://127.0.0.1:9000/']
interval: 10s
Expand Down
1 change: 1 addition & 0 deletions docker-compose/executors/executor.docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ services:
# Run with privileged capabilities (required for docker daemon control)
privileged: true
environment:
- DEPLOY_TYPE=docker-compose
# Refer to https://sourcegraph.com/docs/self-hosted/executors/executors-config on how to populate these variables
- EXECUTOR_FRONTEND_URL=http://sourcegraph-frontend-0:3080
# Note: Must match `executors.accessToken` in site config
Expand Down
Loading