Make the Postgres healthchecks more lenient (#824)

This commit is contained in:
Chris Wendt authored and GitHub committed 2022-06-01 20:27:59 -06:00
1 parent b5fd02c518
commit 4bcdf13c97
1 file changed
+6 -6
+6 -6
View File
@@ -33,7 +33,7 @@ services:
- CODEINTEL_PGDATABASE=sg
- CODEINTEL_PGSSLMODE=disable
# If you are not running code insights, please see:
# If you are not running code insights, please see:
# https://docs.sourcegraph.com/admin/install/docker-compose/operations#database-migrations for more information
# for information on how to configure Sourcegraph migrations
- CODEINSIGHTS_PGHOST=codeinsights-db
@@ -43,7 +43,7 @@ services:
- CODEINSIGHTS_PGDATABASE=postgres
- CODEINSIGHTS_PGSSLMODE=disable
restart: "on-failure"
networks:
networks:
- sourcegraph
depends_on:
pgsql:
@@ -496,7 +496,7 @@ services:
# `cadvisor` requires root privileges in order to display provisioning metrics.
# These metrics provide critical information to help you scale the Sourcegraph deployment.
# If you would like to bring your own infrastructure monitoring & alerting solution,
# you may want to remove the `cadvisor` container completely
# you may want to remove the `cadvisor` container completely
privileged: true
volumes:
- '/:/rootfs:ro'
@@ -560,7 +560,7 @@ services:
interval: 10s
timeout: 1s
retries: 10
start_period: 15s
start_period: 1h
volumes:
- 'pgsql:/data/'
- '../pgsql/conf:/conf/'
@@ -607,7 +607,7 @@ services:
interval: 10s
timeout: 1s
retries: 10
start_period: 15s
start_period: 1h
volumes:
- 'codeintel-db:/data/'
- '../codeintel-db/conf:/conf/'
@@ -659,7 +659,7 @@ services:
interval: 10s
timeout: 1s
retries: 10
start_period: 15s
start_period: 1h
volumes:
- 'codeinsights-db:/var/lib/postgresql/data/'
- '../codeinsights-db/conf:/conf/'