-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.prod.yaml
More file actions
44 lines (41 loc) · 976 Bytes
/
docker-compose.prod.yaml
File metadata and controls
44 lines (41 loc) · 976 Bytes
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
services:
app:
container_name: recycle-study-server
image: ${DOCKER_IMAGE}:${DOCKER_TAG}
restart: unless-stopped
ports:
- "8080:8080"
env_file:
- .env
volumes:
- /app/log:/app/log
networks:
- observability
alloy:
image: grafana/alloy:latest
container_name: alloy
restart: unless-stopped
env_file:
- .env
volumes:
- ./alloy/config.alloy:/etc/alloy/config.alloy
- /app/log:/app/log
command:
- "run"
- "--server.http.listen-addr=0.0.0.0:12345"
- "--storage.path=/var/lib/alloy"
- "--stability.level=experimental"
- "/etc/alloy/config.alloy"
ports:
- "12345:12345" # Alloy UI
- "4317:4317" # OTLP gRPC
networks:
- observability
node-exporter:
image: quay.io/prometheus/node-exporter:latest
container_name: node-exporter
restart: unless-stopped
networks:
- observability
networks:
observability: