[+] Fix
This commit is contained in:
TheH2SO4 2024-05-15 22:54:46 +02:00
parent 4aa153fcf1
commit c2d2b3f3b2
3 changed files with 16 additions and 22 deletions

View File

@ -5,35 +5,31 @@
services:
docuseal:
image: 'docuseal/docuseal:latest'
image: docuseal/docuseal:latest
environment:
- SERVICE_FQDN_DOCUSEAL
- 'HOST=${SERVICE_FQDN_DOCUSEAL}'
- 'DATABASE_URL=postgresql://$SERVICE_USER_POSTGRES:$SERVICE_PASSWORD_POSTGRES@postgresql:5432/${POSTGRES_DB}'
- HOST=${SERVICE_FQDN_DOCUSEAL}
- DATABASE_URL=postgresql://$SERVICE_USER_POSTGRES:$SERVICE_PASSWORD_POSTGRES@postgresql:5432/${POSTGRES_DB}
volumes:
- 'docuseal-data:/data'
- docuseal-data:/data
depends_on:
postgresql:
condition: service_healthy
healthcheck:
test:
- CMD-SHELL
- 'wget -qO- http://localhost:3000'
test: ["CMD", "curl", "-f", "http://localhost:3000"]
interval: 5s
timeout: 20s
retries: 10
postgresql:
image: 'postgres:16-alpine'
image: postgres:16-alpine
volumes:
- 'postgresql-data:/var/lib/postgresql/data'
- postgresql-data:/var/lib/postgresql/data
environment:
- POSTGRES_USER=$SERVICE_USER_POSTGRES
- POSTGRES_PASSWORD=$SERVICE_PASSWORD_POSTGRES
- 'POSTGRES_DB=${POSTGRES_DB:-docuseal}'
- POSTGRES_DB=${POSTGRES_DB:-docuseal}
healthcheck:
test:
- CMD-SHELL
- 'pg_isready -U $${POSTGRES_USER} -d $${POSTGRES_DB}'
test: ["CMD-SHELL", "pg_isready -U $${POSTGRES_USER} -d $${POSTGRES_DB}"]
interval: 5s
timeout: 20s
retries: 10
retries: 10

View File

@ -5,16 +5,14 @@
services:
docuseal:
image: 'docuseal/docuseal:latest'
image: docuseal/docuseal:latest
environment:
- SERVICE_FQDN_DOCUSEAL
- 'HOST=${SERVICE_FQDN_DOCUSEAL}'
- HOST=${SERVICE_FQDN_DOCUSEAL}
volumes:
- 'docuseal-data:/data'
- docuseal-data:/data
healthcheck:
test:
- CMD-SHELL
- 'wget -qO- http://localhost:3000'
test: ["CMD", "curl", "-f", "http://localhost:3000"]
interval: 5s
timeout: 20s
retries: 10

View File

@ -216,7 +216,7 @@
"docuseal-with-postgresql": {
"documentation": "https:\/\/www.docuseal.co",
"slogan": "Document Signing for Everyone free forever for individuals, extensible for businesses and developers. Open Source Alternative to DocuSign, PandaDoc and more.",
"compose": "c2VydmljZXM6CiAgZG9jdXNlYWw6CiAgICBpbWFnZTogJ2RvY3VzZWFsL2RvY3VzZWFsOmxhdGVzdCcKICAgIGVudmlyb25tZW50OgogICAgICAtIFNFUlZJQ0VfRlFETl9ET0NVU0VBTAogICAgICAtICdIT1NUPSR7U0VSVklDRV9GUUROX0RPQ1VTRUFMfScKICAgICAgLSAnREFUQUJBU0VfVVJMPXBvc3RncmVzcWw6Ly8kU0VSVklDRV9VU0VSX1BPU1RHUkVTOiRTRVJWSUNFX1BBU1NXT1JEX1BPU1RHUkVTQHBvc3RncmVzcWw6NTQzMi8ke1BPU1RHUkVTX0RCfScKICAgIHZvbHVtZXM6CiAgICAgIC0gJ2RvY3VzZWFsLWRhdGE6L2RhdGEnCiAgICBkZXBlbmRzX29uOgogICAgICBwb3N0Z3Jlc3FsOgogICAgICAgIGNvbmRpdGlvbjogc2VydmljZV9oZWFsdGh5CiAgICBoZWFsdGhjaGVjazoKICAgICAgdGVzdDoKICAgICAgICAtIENNRC1TSEVMTAogICAgICAgIC0gJ3dnZXQgLXFPLSBodHRwOi8vbG9jYWxob3N0OjMwMDAnCiAgICAgIGludGVydmFsOiA1cwogICAgICB0aW1lb3V0OiAyMHMKICAgICAgcmV0cmllczogMTAKICBwb3N0Z3Jlc3FsOgogICAgaW1hZ2U6ICdwb3N0Z3JlczoxNi1hbHBpbmUnCiAgICB2b2x1bWVzOgogICAgICAtICdwb3N0Z3Jlc3FsLWRhdGE6L3Zhci9saWIvcG9zdGdyZXNxbC9kYXRhJwogICAgZW52aXJvbm1lbnQ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RyaWVzOiAxMAogIHBvc3RncmVzcWw6CiAgICBpbWFnZTogcG9zdGdyZXM6MTYtYWxwaW5lCiAgICB2b2x1bWVzOgogICAgICAtIHBvc3RncmVzcWwtZGF0YTovdmFyL2xpYi9wb3N0Z3Jlc3FsL2RhdGEKICAgIGVudmlyb25tZW50OgogICAgICAtIFBPU1RHUkVTX1VTRVI9JFNFUlZJQ0VfVVNFUl9QT1NUR1JFUwogICAgICAtIFBPU1RHUkVTX1BBU1NXT1JEPSRTRVJWSUNFX1BBU1NXT1JEX1BPU1RHUkVTCiAgICAgIC0gUE9TVEdSRVNfREI9JHtQT1NUR1JFU19EQjotZG9jdXNlYWx9CiAgICBoZWFsdGhjaGVjazoKICAgICAgdGVzdDogWyJDTUQtU0hFTEwiLCAicGdfaXNyZWFkeSAtVSAkJHtQT1NUR1JFU19VU0VSfSAtZCAkJHtQT1NUR1JFU19EQn0iXQogICAgICBpbnRlcnZhbDogNXMKICAgICAgdGltZW91dDogMjBzCiAgICAgIHJldHJpZXM6IDEw",
"tags": [
"documentation"
],
@ -226,7 +226,7 @@
"docuseal": {
"documentation": "https:\/\/www.docuseal.co",
"slogan": "Document Signing for Everyone free forever for individuals, extensible for businesses and developers. Open Source Alternative to DocuSign, PandaDoc and more.",
"compose": "c2VydmljZXM6CiAgZG9jdXNlYWw6CiAgICBpbWFnZTogJ2RvY3VzZWFsL2RvY3VzZWFsOmxhdGVzdCcKICAgIGVudmlyb25tZW50OgogICAgICAtIFNFUlZJQ0VfRlFETl9ET0NVU0VBTAogICAgICAtICdIT1NUPSR7U0VSVklDRV9GUUROX0RPQ1VTRUFMfScKICAgIHZvbHVtZXM6CiAgICAgIC0gJ2RvY3VzZWFsLWRhdGE6L2RhdGEnCiAgICBoZWFsdGhjaGVjazoKICAgICAgdGVzdDoKICAgICAgICAtIENNRC1TSEVMTAogICAgICAgIC0gJ3dnZXQgLXFPLSBodHRwOi8vbG9jYWxob3N0OjMwMDAnCiAgICAgIGludGVydmFsOiA1cwogICAgICB0aW1lb3V0OiAyMHMKICAgICAgcmV0cmllczogMTA=",
"compose": "c2VydmljZXM6CiAgZG9jdXNlYWw6CiAgICBpbWFnZTogZG9jdXNlYWwvZG9jdXNlYWw6bGF0ZXN0CiAgICBlbnZpcm9ubWVudDoKICAgICAgLSBTRVJWSUNFX0ZRRE5fRE9DVVNFQUwKICAgICAgLSBIT1NUPSR7U0VSVklDRV9GUUROX0RPQ1VTRUFMfQogICAgdm9sdW1lczoKICAgICAgLSBkb2N1c2VhbC1kYXRhOi9kYXRhCiAgICBoZWFsdGhjaGVjazoKICAgICAgdGVzdDogWyJDTUQiLCAiY3VybCIsICItZiIsICJodHRwOi8vbG9jYWxob3N0OjMwMDAiXQogICAgICBpbnRlcnZhbDogNXMKICAgICAgdGltZW91dDogMjBzCiAgICAgIHJldHJpZXM6IDEw",
"tags": [
"documentation"
],