Skip to content

Commit 1a69067

Browse files
committed
n8n use pg
1 parent f73c868 commit 1a69067

2 files changed

Lines changed: 12 additions & 1 deletion

File tree

docker/secret-mappings.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARM:
1+
vps:
22
env_variables:
33
GOTIFY_DEFAULTUSER_NAME: 5934d022-ee32-4aff-810b-b258001c9638
44
GOTIFY_DEFAULTUSER_PASS: bf7c1717-d602-4401-96b8-b258001cd484

docker/vps/docker-compose.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,20 @@ services:
6868
- GENERIC_TIMEZONE=America/New_York
6969
- TZ=America/New_York
7070
- WEBHOOK_URL=$WEBHOOK_URL
71+
- N8N_ENCRYPTION_KEY=$N8N_ENCRYPTION_KEY
72+
- DB_TYPE=postgresdb
73+
- DB_POSTGRESDB_HOST=postgres
74+
- DB_POSTGRESDB_PORT=5432
75+
- DB_POSTGRESDB_DATABASE=n8n
76+
- DB_POSTGRESDB_USER=vaultwarden
77+
- DB_POSTGRESDB_PASSWORD=${POSTGRES_PASSWORD}
78+
- DB_POSTGRESDB_SSL_ENABLED=false
7179
restart: unless-stopped
7280
networks:
7381
- racknerd
82+
depends_on:
83+
postgres:
84+
condition: service_healthy
7485

7586
vaultwarden:
7687
image: ghcr.io/dani-garcia/vaultwarden:1.36.0

0 commit comments

Comments
 (0)