commit a34aec29fcd8fd2acfd8aa16fc37cfa5aa8d1c76 Author: paulmataruso Date: Sat Oct 19 17:59:59 2024 +0000 First Upload diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..b3db600 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,30 @@ +version: '3' + +services: + app: + depends_on: + postgres: + condition: service_healthy + image: docuseal/docuseal:latest + ports: + - 3003:3000 + volumes: + - .:/data + environment: + - FORCE_SSL=${HOST} + - 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 +