Skip to content

Commit b75f139

Browse files
committed
Managed Postgres
1 parent 2d4a465 commit b75f139

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

samples/n8n/compose.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ services:
1919

2020
postgres:
2121
image: postgres:16
22+
x-defang-postgres: true
2223
restart: always
2324
environment:
2425
- POSTGRES_USER
@@ -52,6 +53,8 @@ services:
5253
- N8N_PROTOCOL=https
5354
- NODE_ENV=production
5455
- WEBHOOK_URL=https://n8n--5678.n8n.kevyvo.defang.app
56+
- DB_POSTGRESDB_SSL_ENABLED=true #https://community.n8n.io/t/error-while-deploying-n8n-docker/77926
57+
- DB_POSTGRESDB_SSL_REJECT_UNAUTHORIZED=false
5558
ports:
5659
- 5678:5678
5760
links:

0 commit comments

Comments
 (0)