-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
42 lines (38 loc) · 1.09 KB
/
docker-compose.yml
File metadata and controls
42 lines (38 loc) · 1.09 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
services:
noisiest-app:
build:
context: ./noisiest-app
container_name: noisiest-app
ports:
- "5000:5000"
labels:
- bugradar=true
environment:
APP_NAME: "noisiest-app"
networks:
- bugradar-net
bugradar-agent:
build:
context: ./agent
image: bugradar/agent:latest
container_name: bugradar-agent
restart: always
environment:
BUGRADAR_API_KEY: "proj_4a9e276a63367a4fad6fc2a614e1a6da"
BUGRADAR_API_URL: "https://bugradar-app.netlify.app/api/logs"
BUGRADAR_LATENCY_API_URL: "https://bugradar-app.netlify.app/api/latency"
# --- URLs para el agente ---
BUGRADAR_CONFIG_URL: "https://bugradar-app.netlify.app/api/config"
BUGRADAR_LATENCY_TARGET_URL: "http://noisiest-app:5000"
BUGRADAR_DISCOVER_BY_LABEL: "bugradar=true"
BUGRADAR_CONTAINERS: "noisiest-app"
BUGRADAR_TAIL: "100"
BUGRADAR_PARSE_JSON: "1"
PYTHONUNBUFFERED: "1"
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
networks:
- bugradar-net
networks:
bugradar-net:
driver: bridge