fix: updated postgres
This commit is contained in:
parent
c93c238be2
commit
e3c3962d07
1 changed files with 3 additions and 2 deletions
|
|
@ -139,12 +139,13 @@ services:
|
|||
database:
|
||||
image: postgres:17
|
||||
environment:
|
||||
- POSTGRES_USER=${POSTGRES_USER:-documenso}
|
||||
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD:-PLACEHOLDER_PASSWORD}
|
||||
- POSTGRES_USER=${SERVICE_USER_POSTGRES}
|
||||
- POSTGRES_PASSWORD=${SERVICE_PASSWORD_POSTGRES}
|
||||
- POSTGRES_DB=${POSTGRES_DB:-documenso-db}
|
||||
volumes:
|
||||
- documenso_postgresql_data:/var/lib/postgresql/data
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U $${POSTGRES_USER} -d $${POSTGRES_DB}"]
|
||||
interval: 5s
|
||||
timeout: 20s
|
||||
retries: 10
|
||||
Loading…
Reference in a new issue