26 lines
No EOL
613 B
YAML
26 lines
No EOL
613 B
YAML
services:
|
|
app:
|
|
depends_on:
|
|
postgres:
|
|
condition: service_healthy
|
|
image: docuseal/docuseal:latest
|
|
ports:
|
|
- 3069:3000
|
|
volumes:
|
|
- ./docuseal:/data/docuseal
|
|
environment:
|
|
- DATABASE_URL=postgresql://postgres:postgres@postgres:5432/docuseal
|
|
|
|
postgres:
|
|
image: postgres:15
|
|
volumes:
|
|
- './pg_data:/var/lib/postgresql/data'
|
|
environment:
|
|
POSTGRES_USER: postgres
|
|
POSTGRES_PASSWORD: postgres
|
|
POSTGRES_DB: docuseal
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "pg_isready -U postgres"]
|
|
interval: 5s
|
|
timeout: 5s
|
|
retries: 5 |