Attempted fix on forward proxy headers.

This commit is contained in:
Malong 2025-08-08 22:50:47 +00:00
parent f07287415d
commit 630144f561

View File

@ -3,9 +3,15 @@ volumes:
n8n_storage: n8n_storage:
redis_storage: redis_storage:
networks:
daffnie-n8n_network:
external: true
x-shared: &shared x-shared: &shared
restart: unless-stopped restart: unless-stopped
image: docker.n8n.io/n8nio/n8n image: n8nio/n8n:stable
networks:
- daffnie-n8n_network
environment: environment:
- DB_TYPE=postgresdb - DB_TYPE=postgresdb
- DB_POSTGRESDB_HOST=daffnie-n8n_postgres - DB_POSTGRESDB_HOST=daffnie-n8n_postgres
@ -31,7 +37,7 @@ x-shared: &shared
- N8N_SMTP_SENDER=${N8N_SMTP_SENDER} - N8N_SMTP_SENDER=${N8N_SMTP_SENDER}
- N8N_USER_MANAGEMENT_DISABLED=false - N8N_USER_MANAGEMENT_DISABLED=false
- N8N_EXPRESS_TRUST_PROXY=true - N8N_EXPRESS_TRUST_PROXY=true
- N8N_EXPRESS_TRUST_PROXY=${N8N_EXPRESS_TRUST_PROXY} - N8N_RATE_LIMIT_ENABLED=false
links: links:
- daffnie-n8n_postgres - daffnie-n8n_postgres
- daffnie-n8n_redis - daffnie-n8n_redis
@ -48,6 +54,8 @@ services:
container_name: daffnie-n8n_postgres container_name: daffnie-n8n_postgres
image: postgres:16 image: postgres:16
restart: unless-stopped restart: unless-stopped
networks:
- daffnie-n8n_network
environment: environment:
- POSTGRES_USER - POSTGRES_USER
- POSTGRES_PASSWORD - POSTGRES_PASSWORD
@ -75,6 +83,9 @@ services:
container_name: daffnie-n8n_redis container_name: daffnie-n8n_redis
image: redis:6-alpine image: redis:6-alpine
restart: unless-stopped restart: unless-stopped
networks:
- daffnie-n8n_network
# - nextcloud_shared-network
volumes: volumes:
- redis_storage:/data - redis_storage:/data
healthcheck: healthcheck: