-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
123 lines (110 loc) · 3.16 KB
/
Copy pathdocker-compose.yml
File metadata and controls
123 lines (110 loc) · 3.16 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
services:
tiled:
# see the file ./tiled/deploy/config.yml for detailed configuration of tiled
# to start tiled, add, run "docker-compose --profile tiled up tiled"
image: ghcr.io/bluesky/tiled:main
profiles:
- tiled
ports:
- "8000:8000"
environment:
- TILED_SINGLE_USER_API_KEY=${TILED_SINGLE_USER_API_KEY}
volumes:
- ./services/tiled/deploy:/deploy:Z
- ./data:/data:Z
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://tiled:8000/healthz"]
interval: 10s
timeout: 5s
retries: 3
networks:
- mle_net
timepix_processor:
# profiles:
# - dev
command: "/block_configs/timepix931_processor_block.yaml"
build:
context: .
dockerfile: Dockerfile_processor
restart: unless-stopped
ports:
- "8001:8001"
volumes:
- ./block_configs:/block_configs:ro,Z
environment:
- RESULTS_TILED_API_KEY=${TILED_SINGLE_USER_API_KEY}
- LOGGING_LEVEL=DEBUG
networks:
mle_net:
tiled_processor:
command: "/block_configs/tiled_processor_block.yaml"
build:
context: .
dockerfile: Dockerfile_processor
restart: unless-stopped
ports:
- "5001:5001"
volumes:
- ./block_configs:/block_configs:ro,Z
- ./data/tiled_poller:/data/tiled_poller:Z
environment:
- RESULTS_TILED_API_KEY=${TILED_SINGLE_USER_API_KEY}
- LOGGING_LEVEL=DEBUG
networks:
mle_net:
frontend:
build:
context: .
dockerfile: Dockerfile_frontend
ports:
- "8080:80"
restart: unless-stopped
volumes:
- .:/app:Z
networks:
mle_net:
jaeger:
image: jaegertracing/all-in-one:latest
ports:
- "127.0.0.1:16686:16686" # Jaeger UI
- "127.0.0.1:4317:4317" # OTLP gRPC receiver
- "127.0.0.1:4318:4318" # OTLP HTTP receiver
environment:
- COLLECTOR_OTLP_ENABLED=true
restart: unless-stopped
prometheus:
image: prom/prometheus:latest
ports:
- "127.0.0.1:9090:9090" # Prometheus UI
volumes:
- ./config/prometheus.yml:/etc/prometheus/prometheus.yml:ro,z
- prometheus-data:/prometheus
command:
- '--config.file=/etc/prometheus/prometheus.yml'
- '--storage.tsdb.path=/prometheus'
- '--web.console.libraries=/usr/share/prometheus/console_libraries'
- '--web.console.templates=/usr/share/prometheus/consoles'
restart: unless-stopped
grafana:
image: grafana/grafana:latest
ports:
- "127.0.0.1:3000:3000" # Grafana UI
environment:
- GF_SECURITY_ADMIN_PASSWORD=${GRAFANA_ADMIN_PASSWORD:-admin}
- GF_USERS_ALLOW_SIGN_UP=false
volumes:
- grafana-data:/var/lib/grafana
- ./config/grafana-datasources.yml:/etc/grafana/provisioning/datasources/datasources.yml:ro,z
- ./config/grafana-dashboards.yml:/etc/grafana/provisioning/dashboards/dashboards.yml:ro,z
- ./config/grafana-dashboard.json:/etc/grafana/provisioning/dashboards/arroyopy-dashboard.json:ro,z
depends_on:
- prometheus
restart: unless-stopped
volumes:
prometheus-data:
grafana-data:
networks:
mle_net:
name: mle_net
external: true