30 lines
747 B
YAML
30 lines
747 B
YAML
services:
|
|
app:
|
|
env_file:
|
|
- .env
|
|
depends_on:
|
|
postgres:
|
|
condition: service_healthy
|
|
image: docuseal/docuseal:latest
|
|
ports:
|
|
- 3002:3000 # Change host port to 3001
|
|
environment:
|
|
- FORCE_SSL=${HOST}
|
|
- DATABASE_URL=postgresql://postgres:postgres@postgres:5432/docuseal
|
|
volumes:
|
|
- /data/docuseal # Docker will auto-manage this volume
|
|
|
|
postgres:
|
|
image: postgres:15
|
|
environment:
|
|
POSTGRES_USER: postgres
|
|
POSTGRES_PASSWORD: postgres
|
|
POSTGRES_DB: docuseal
|
|
volumes:
|
|
- /var/lib/postgresql/data # Docker will auto-manage this volume
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "pg_isready -U postgres"]
|
|
interval: 5s
|
|
timeout: 5s
|
|
retries: 5
|