Docuseal
[+] Fix
This commit is contained in:
@@ -5,35 +5,31 @@
|
||||
|
||||
services:
|
||||
docuseal:
|
||||
image: 'docuseal/docuseal:latest'
|
||||
image: docuseal/docuseal:latest
|
||||
environment:
|
||||
- SERVICE_FQDN_DOCUSEAL
|
||||
- 'HOST=${SERVICE_FQDN_DOCUSEAL}'
|
||||
- 'DATABASE_URL=postgresql://$SERVICE_USER_POSTGRES:$SERVICE_PASSWORD_POSTGRES@postgresql:5432/${POSTGRES_DB}'
|
||||
- HOST=${SERVICE_FQDN_DOCUSEAL}
|
||||
- DATABASE_URL=postgresql://$SERVICE_USER_POSTGRES:$SERVICE_PASSWORD_POSTGRES@postgresql:5432/${POSTGRES_DB}
|
||||
volumes:
|
||||
- 'docuseal-data:/data'
|
||||
- docuseal-data:/data
|
||||
depends_on:
|
||||
postgresql:
|
||||
condition: service_healthy
|
||||
healthcheck:
|
||||
test:
|
||||
- CMD-SHELL
|
||||
- 'wget -qO- http://localhost:3000'
|
||||
test: ["CMD", "curl", "-f", "http://localhost:3000"]
|
||||
interval: 5s
|
||||
timeout: 20s
|
||||
retries: 10
|
||||
postgresql:
|
||||
image: 'postgres:16-alpine'
|
||||
image: postgres:16-alpine
|
||||
volumes:
|
||||
- 'postgresql-data:/var/lib/postgresql/data'
|
||||
- postgresql-data:/var/lib/postgresql/data
|
||||
environment:
|
||||
- POSTGRES_USER=$SERVICE_USER_POSTGRES
|
||||
- POSTGRES_PASSWORD=$SERVICE_PASSWORD_POSTGRES
|
||||
- 'POSTGRES_DB=${POSTGRES_DB:-docuseal}'
|
||||
- POSTGRES_DB=${POSTGRES_DB:-docuseal}
|
||||
healthcheck:
|
||||
test:
|
||||
- CMD-SHELL
|
||||
- 'pg_isready -U $${POSTGRES_USER} -d $${POSTGRES_DB}'
|
||||
test: ["CMD-SHELL", "pg_isready -U $${POSTGRES_USER} -d $${POSTGRES_DB}"]
|
||||
interval: 5s
|
||||
timeout: 20s
|
||||
retries: 10
|
||||
retries: 10
|
||||
Reference in New Issue
Block a user