Skip to content

Commit e3c3962

Browse files
committed
fix: updated postgres
1 parent c93c238 commit e3c3962

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

templates/compose/documenso.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,12 +139,13 @@ services:
139139
database:
140140
image: postgres:17
141141
environment:
142-
- POSTGRES_USER=${POSTGRES_USER:-documenso}
143-
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD:-PLACEHOLDER_PASSWORD}
142+
- POSTGRES_USER=${SERVICE_USER_POSTGRES}
143+
- POSTGRES_PASSWORD=${SERVICE_PASSWORD_POSTGRES}
144144
- POSTGRES_DB=${POSTGRES_DB:-documenso-db}
145145
volumes:
146146
- documenso_postgresql_data:/var/lib/postgresql/data
147147
healthcheck:
148148
test: ["CMD-SHELL", "pg_isready -U $${POSTGRES_USER} -d $${POSTGRES_DB}"]
149+
interval: 5s
149150
timeout: 20s
150151
retries: 10

0 commit comments

Comments
 (0)