Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
File size: 1,204 Bytes
caca973 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 |
version: "3.8"
services:
n8n:
image: n8nio/n8n:1.53.1
container_name: n8n
restart: unless-stopped
env_file:
- ../config/.env
ports:
- "5678:5678"
environment:
# Force SSL for DB
- DB_POSTGRESDB_SSL=true
# Community nodes
- N8N_ENABLE_COMMUNITY_NODES=${N8N_ENABLE_COMMUNITY_NODES:-true}
- N8N_COMMUNITY_PACKAGES=${N8N_COMMUNITY_PACKAGES:-["n8n-nodes-langchain","n8n-nodes-google","n8n-nodes-vertexai"]}
# n8n basics
- N8N_HOST=${N8N_HOST:-localhost}
- N8N_PORT=${N8N_PORT:-5678}
- N8N_PROTOCOL=${N8N_PROTOCOL:-http}
- WEBHOOK_URL=${WEBHOOK_URL}
volumes:
- n8n_data:/home/node/.n8n
- ../workflows:/data/workflows:rw
- ../knowledge:/data/knowledge:rw
healthcheck:
test: ["CMD", "curl", "-fsS", "http://localhost:5678/healthz"]
interval: 30s
timeout: 10s
retries: 5
# Optional vector DB for local development (use Supabase+pgvector in prod)
qdrant:
image: qdrant/qdrant:v1.9.1
container_name: qdrant
restart: unless-stopped
ports:
- "6333:6333"
volumes:
- qdrant_data:/qdrant/storage
volumes:
n8n_data:
qdrant_data:
|