-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
68 lines (64 loc) · 1.85 KB
/
docker-compose.yml
File metadata and controls
68 lines (64 loc) · 1.85 KB
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
version: '3.8'
services:
n8n:
image: n8nio/n8n:latest
container_name: n8n-memory-test
restart: unless-stopped
ports:
- '5678:5678'
environment:
- N8N_LOG_LEVEL=debug
- NODE_ENV=production
- N8N_SECURE_COOKIE=false
# Allow custom nodes from local directory
- N8N_CUSTOM_EXTENSIONS=/data/nodes
- N8N_COMMUNITY_PACKAGES_ENABLED=true
# Jaeger tracing configuration
- JAEGER_AGENT_HOST=jaeger
- JAEGER_AGENT_PORT=6831
- JAEGER_SAMPLER_TYPE=const
- JAEGER_SAMPLER_PARAM=1
volumes:
# Mount the current directory as custom nodes
- ./:/data/nodes/n8n-nodes-memory:ro
# Persist n8n data
- n8n_data:/home/node/.n8n
networks:
- n8n-network
depends_on:
- jaeger
healthcheck:
test: ['CMD', 'wget', '--spider', '-q', 'http://localhost:5678/healthz']
interval: 30s
timeout: 10s
retries: 3
jaeger:
image: jaegertracing/all-in-one:latest
container_name: jaeger-tracing
restart: unless-stopped
ports:
- '5775:5775/udp' # zipkin.thrift over compact thrift protocol
- '6831:6831/udp' # jaeger.thrift over compact thrift protocol
- '6832:6832/udp' # jaeger.thrift over binary thrift protocol
- '5778:5778' # serve configs
- '16686:16686' # Jaeger UI
- '14268:14268' # jaeger.thrift directly from clients
- '14250:14250' # model.proto
- '9411:9411' # Zipkin compatible endpoint
environment:
- COLLECTOR_ZIPKIN_HOST_PORT=:9411
- COLLECTOR_OTLP_ENABLED=true
networks:
- n8n-network
healthcheck:
test: ['CMD', 'wget', '--spider', '-q', 'http://localhost:16686']
interval: 30s
timeout: 10s
retries: 3
volumes:
n8n_data:
name: n8n_memory_test_data
networks:
n8n-network:
name: n8n-memory-network
driver: bridge