force ssl only if host passed

This commit is contained in:
DocuSeal
2023-10-29 19:10:41 +02:00
parent 607fc8d338
commit 50d3404f3b
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -11,8 +11,8 @@ services:
volumes:
- .:/data
environment:
FORCE_SSL: 'true'
DATABASE_URL: postgresql://postgres:postgres@postgres:5432/docuseal
- FORCE_SSL=${HOST}
- DATABASE_URL=postgresql://postgres:postgres@postgres:5432/docuseal
postgres:
image: postgres:15