-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose-dev.yml
More file actions
97 lines (90 loc) · 2.58 KB
/
Copy pathdocker-compose-dev.yml
File metadata and controls
97 lines (90 loc) · 2.58 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
services:
pebble:
container_name: snakeway-pebble
image: ghcr.io/letsencrypt/pebble:latest
command: -config /test/pebble.json
ports:
- "14000:14000" # ACME port
- "15000:15000" # Management port
environment:
- PEBBLE_VA_NOSLEEP=1
- PEBBLE_VA_ALWAYS_VALID=1
volumes:
- ./dev/pebble.json:/test/pebble.json
otel-collector:
container_name: snakeway-otel-collector
image: otel/opentelemetry-collector-contrib:latest
command: [ "--config=/etc/otel-collector-config.yaml" ]
volumes:
- ./dev/otel/collector.yaml:/etc/otel-collector-config.yaml
ports:
- "4317:4317" # OTLP gRPC
- "4318:4318" # OTLP HTTP
- "8889:8889" # Prometheus scrape endpoint
depends_on:
- tempo
- loki
grafana:
container_name: snakeway-grafana
image: grafana/grafana:latest
ports:
- "3001:3000"
environment:
- GF_AUTH_ANONYMOUS_ENABLED=true
- GF_AUTH_ANONYMOUS_ORG_ROLE=Admin
volumes:
- ./dev/otel/grafana-datasources.yaml:/etc/grafana/provisioning/datasources/datasources.yaml
- snakeway-grafana-data:/var/lib/grafana
depends_on:
- tempo
- loki
- prometheus
tempo:
container_name: snakeway-tempo
image: grafana/tempo:2.10.1
command: [ "-config.file=/etc/tempo.yaml" ]
volumes:
- ./dev/otel/tempo.yaml:/etc/tempo.yaml
ports:
- "3200:3200"
loki:
container_name: snakeway-loki
image: grafana/loki:latest
command: -config.file=/etc/loki/local-config.yaml
ports:
- "3100:3100"
volumes:
- ./dev/otel/loki-local-config.yaml:/etc/loki/local-config.yaml
prometheus:
container_name: snakeway-prometheus
image: prom/prometheus:latest
command:
- '--config.file=/etc/prometheus/prometheus.yaml'
- '--storage.tsdb.path=/prometheus'
- '--web.enable-remote-write-receiver'
ports:
- "9092:9090"
volumes:
- ./dev/otel/prometheus.yaml:/etc/prometheus/prometheus.yaml
- snakeway-prometheus-data:/prometheus
depends_on:
- otel-collector
origin:
container_name: snakeway-origin
image: ghcr.io/snakewayhq/snakeway-origin:latest
environment:
ORIGIN_HOST: 0.0.0.0
ORIGIN_BASE_PORT: 4000
TLS_CERT: /certs/server.pem
TLS_KEY: /certs/server.key
volumes:
- ./crates/snakeway-tests/certs:/certs:ro
- snakeway-origin-tmp:/tmp
ports:
- "4000-4004:4000-4004"
- "4443-4447:4443-4447"
- "6051-6055:6051-6055"
volumes:
snakeway-grafana-data:
snakeway-prometheus-data:
snakeway-origin-tmp: