infra/compose/docuseal.yml

27 lines
660 B
YAML
Raw Normal View History

2024-11-16 22:25:36 -07:00
services:
app:
depends_on:
postgres:
condition: service_healthy
image: docuseal/docuseal:latest
ports:
2024-11-18 17:34:30 -06:00
- '3069:3000'
2024-11-16 22:25:36 -07:00
environment:
2024-11-18 17:34:30 -06:00
DATABASE_URL: postgresql://postgres:postgres@postgres:5432/docuseal
ROOT_DIR: ${ROOT_DIR}
volumes:
- ${ROOT_DIR}/app_data:/data/docuseal
2024-11-16 22:25:36 -07:00
postgres:
image: postgres:15
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: docuseal
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 5s
timeout: 5s
2024-11-18 17:34:30 -06:00
retries: 5
volumes:
- ${ROOT_DIR}/pg_data:/var/lib/postgresql/data