37 lines
1.2 KiB
YAML
37 lines
1.2 KiB
YAML
# documentation: https://www.docuseal.co/
|
|
# slogan: Document Signing for Everyone free forever for individuals, extensible for businesses and developers. Open Source Alternative to DocuSign, PandaDoc and more.
|
|
# tags: documentation
|
|
# logo: svgs/docuseal.png
|
|
# port: 3000
|
|
|
|
services:
|
|
docuseal:
|
|
image: docuseal/docuseal:latest
|
|
environment:
|
|
- SERVICE_FQDN_DOCUSEAL_3000
|
|
- HOST=${SERVICE_FQDN_DOCUSEAL}
|
|
- DATABASE_URL=postgresql://$SERVICE_USER_POSTGRES:$SERVICE_PASSWORD_POSTGRES@postgresql:5432/${POSTGRES_DB}
|
|
volumes:
|
|
- docuseal-data:/data
|
|
depends_on:
|
|
postgresql:
|
|
condition: service_healthy
|
|
healthcheck:
|
|
test: ["CMD", "wget", "-q", "--spider", "http://127.0.0.1:3000"]
|
|
interval: 5s
|
|
timeout: 20s
|
|
retries: 10
|
|
postgresql:
|
|
image: postgres:16-alpine
|
|
volumes:
|
|
- postgresql-data:/var/lib/postgresql/data
|
|
environment:
|
|
- POSTGRES_USER=$SERVICE_USER_POSTGRES
|
|
- POSTGRES_PASSWORD=$SERVICE_PASSWORD_POSTGRES
|
|
- POSTGRES_DB=${POSTGRES_DB:-docuseal}
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "pg_isready -U $${POSTGRES_USER} -d $${POSTGRES_DB}"]
|
|
interval: 5s
|
|
timeout: 20s
|
|
retries: 10
|