fix: add proxy network to Outline and n8n for outbound internet access

Outline needs proxy network for SMTP (Resend) and S3 (Timeweb).
n8n needs proxy network for external API calls in workflows.
Both were only on backend (internal:true) so DNS/TCP to internet was blocked.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
jack 2026-03-27 03:54:19 +07:00
parent 036b80501f
commit d6015b76a3

View file

@ -590,6 +590,7 @@ services:
networks: networks:
- outline-internal - outline-internal
- backend - backend
- proxy # needs outbound internet for SMTP (Resend) and S3 (Timeweb)
depends_on: depends_on:
outline-db: outline-db:
condition: service_healthy condition: service_healthy
@ -656,6 +657,7 @@ services:
networks: networks:
- n8n-internal - n8n-internal
- backend - backend
- proxy # needs outbound internet for workflow API calls
volumes: volumes:
- n8n_data:/home/node/.n8n - n8n_data:/home/node/.n8n
environment: environment:
@ -671,6 +673,8 @@ services:
- N8N_LOG_LEVEL=warn - N8N_LOG_LEVEL=warn
- EXECUTIONS_DATA_PRUNE=true - EXECUTIONS_DATA_PRUNE=true
- EXECUTIONS_DATA_MAX_AGE=336 - EXECUTIONS_DATA_MAX_AGE=336
- N8N_DIAGNOSTICS_ENABLED=false
- N8N_VERSION_NOTIFICATIONS_ENABLED=false
healthcheck: healthcheck:
test: ["CMD", "wget", "-qO-", "http://127.0.0.1:5678/healthz"] test: ["CMD", "wget", "-qO-", "http://127.0.0.1:5678/healthz"]
interval: 30s interval: 30s