diff --git a/blueprints/docuseal/docker-compose.yml b/blueprints/docuseal/docker-compose.yml new file mode 100644 index 00000000..f5a180b1 --- /dev/null +++ b/blueprints/docuseal/docker-compose.yml @@ -0,0 +1,38 @@ +services: + app: + image: docuseal/docuseal:latest + volumes: + - docuseal:/data/docuseal + depends_on: + docu-postgres: + condition: service_healthy + restart: unless-stopped + environment: + - DATABASE_URL=postgresql://${POSTGRES_USER:-docuseal}:${POSTGRES_PASSWORD}@docu-postgres:5432/${POSTGRES_DB:-docuseal} + + docu-postgres: + image: postgres:latest + volumes: + - docuseal-db:/var/lib/postgresql/data + environment: + - POSTGRES_USER=${POSTGRES_USER} + - POSTGRES_PASSWORD=${POSTGRES_PASSWORD} + - POSTGRES_DB=${POSTGRES_DB} + restart: unless-stopped + healthcheck: + test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER:-docuseal} -d ${POSTGRES_DB:-docuseal}"] + interval: 10s + timeout: 5s + retries: 5 + + docu-redis: + image: redis:alpine + restart: always + volumes: + - docuseal-redis-data:/data + + +volumes: + docuseal: + docuseal-db: + docuseal-redis-data: \ No newline at end of file diff --git a/blueprints/docuseal/docuseal.png b/blueprints/docuseal/docuseal.png new file mode 100644 index 00000000..9d9f48d3 Binary files /dev/null and b/blueprints/docuseal/docuseal.png differ diff --git a/blueprints/docuseal/template.toml b/blueprints/docuseal/template.toml new file mode 100644 index 00000000..d2975e0a --- /dev/null +++ b/blueprints/docuseal/template.toml @@ -0,0 +1,15 @@ +[variables] +main_domain = "${domain}" + +[config] +env = [ + "POSTGRES_USER=postgres", + "POSTGRES_PASSWORD=postgres", + "POSTGRES_DB=docuseal", +] +mounts = [] + +[[config.domains]] +serviceName = "app" +port = 3_000 +host = "${main_domain}" diff --git a/meta.json b/meta.json index b981c3c4..35da784c 100644 --- a/meta.json +++ b/meta.json @@ -2440,5 +2440,18 @@ "feature-toggle", "remote-configuration" ] + }, + { + "id": "docuseal", + "name": "Docuseal", + "version": "latest", + "description": "Docuseal is a self-hosted document management system.", + "logo": "docuseal.png", + "links": { + "github": "https://github.com/docusealco/docuseal", + "website": "https://www.docuseal.com/", + "docs": "https://www.docuseal.com/" + }, + "tags": ["document-signing"] } ]