-
Notifications
You must be signed in to change notification settings - Fork 516
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(promote) release: build v5.10.3940 (#1127)
Test plan: automated release PR, CI will perform additional checks --------- Co-authored-by: Anish Lakhwara <anish+github@lakhwara.com> Co-authored-by: Jacob Pleiness <jacob.pleiness@sourcegraph.com>
- Loading branch information
1 parent
d5ccc1e
commit c7101bd
Showing
4 changed files
with
81 additions
and
29 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
# This file contains the pgsql service definition (the primary Sourcegraph database deployment), | ||
# as well as the codeintel-db service definition (a separate postgres deployment). Both run postgres. | ||
# This file is used during the sourcegraph/server -> docker-compose migration process. | ||
# | ||
# 🚨This file MUST be kept in sync with the pgsql definition in docker-compose/docker-compose.yaml | ||
version: '2.4' | ||
services: | ||
# Description: PostgreSQL database for various data. | ||
# | ||
# Disk: 128GB / persistent SSD | ||
# Ports exposed to other Sourcegraph services: 5432/TCP 9187/TCP | ||
# Ports exposed to the public internet: none | ||
# | ||
pgsql: | ||
container_name: pgsql | ||
image: 'index.docker.io/sourcegraph/postgres-12-alpine:5.10.3940@sha256:710ff6aa032d599bfeec0f00f44e32e6c7490224d761f0d63747a1606cc52668' | ||
cpus: 4 | ||
mem_limit: '2g' | ||
healthcheck: | ||
test: '/liveness.sh' | ||
interval: 10s | ||
timeout: 1s | ||
retries: 3 | ||
start_period: 15s | ||
volumes: | ||
- 'pgsql:/data/' | ||
networks: | ||
- sourcegraph | ||
restart: always | ||
|
||
codeintel-db: | ||
container_name: codeintel-db | ||
image: 'index.docker.io/sourcegraph/codeintel-db:5.10.3940@sha256:710ff6aa032d599bfeec0f00f44e32e6c7490224d761f0d63747a1606cc52668' | ||
cpus: 4 | ||
mem_limit: '2g' | ||
healthcheck: | ||
test: '/liveness.sh' | ||
interval: 10s | ||
timeout: 1s | ||
retries: 3 | ||
start_period: 15s | ||
volumes: | ||
- 'codeintel-db:/data/' | ||
networks: | ||
- sourcegraph | ||
restart: always | ||
|
||
volumes: | ||
pgsql: | ||
codeintel-db: | ||
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
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