-
We purchased a cert for our domain pointing to DocuSeal and we would like the domain to use that cert instead of letsencrypt. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
version: '3'
services:
app:
depends_on:
postgres:
condition: service_healthy
image: docuseal/docuseal:latest
ports:
- 3000:3000
volumes:
- .:/data
environment:
- FORCE_SSL=true
- 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
caddy:
image: caddy:latest
ports:
- 80:80
- 443:443
- 443:443/udp
volumes:
- .:/data
- ./Caddyfile:/etc/caddy/Caddyfile
- /path/to/your/certs:/certs # replace it with path to your certs on disk ^ Replace your existing docker-compose file with the file above. In:
Replace Create
Replace Run |
Beta Was this translation helpful? Give feedback.
-
Thought... do I have to include the ca-bundle? |
Beta Was this translation helpful? Give feedback.
@uncltom