This repository was archived by the owner on Oct 9, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
101 lines (96 loc) · 2.45 KB
/
docker-compose.dev.yml
File metadata and controls
101 lines (96 loc) · 2.45 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
services:
wa-api:
build:
context: .
dockerfile: apps/api/Dockerfile
volumes:
- ./apps/api:/app/apps/api
- ./node_modules:/app/node_modules
- ./package.json:/app/package.json
- ./bun.lock:/app/bun.lock
- ./packages:/app/packages
ports:
- "3001:3001"
env_file:
- .env.development.local
environment:
- OTEL_EXPORTER_OTLP_ENDPOINT=http://otel-lgtm:4318
depends_on:
- otel-lgtm
networks:
- otel-net
restart: unless-stopped
healthcheck:
test: [ "CMD-SHELL", "curl -f http://${API_HOST}:${API_PORT}/health || exit 1" ]
interval: 30s
timeout: 10s
retries: 3
start_period: 10s
# wa-web:
# build:
# context: .
# dockerfile: apps/web/Dockerfile
# volumes:
# - ./apps/web/certs:/app/apps/web/certs:ro
# - ./apps/web:/app/apps/web
# # failed to load native binding
# # - ./node_modules:/app/node_modules
# - ./package.json:/app/package.json
# - ./bun.lock:/app/bun.lock
# - ./packages:/app/packages
# ports:
# - "3000:3000"
# - "24678:24678"
# env_file:
# - .env.development.local
# restart: unless-stopped
# healthcheck:
# test: [ "CMD", "curl", "-f", "http://localhost:3000/health" ]
# interval: 30s
# timeout: 10s
# retries: 3
# start_period: 30s
wa-bot:
build:
context: .
dockerfile: apps/bot/Dockerfile
volumes:
- ./apps/bot:/app/apps/bot
- ./node_modules:/app/node_modules
- ./package.json:/app/package.json
- ./bun.lock:/app/bun.lock
- ./packages:/app/packages
env_file:
- .env.development.local
networks:
- otel-net
restart: unless-stopped
otel-lgtm:
image: grafana/otel-lgtm
container_name: otel-lgtm
ports:
- "3005:3000" # Grafana UI
- "4317:4317" # OTLP gRPC
- "4318:4318" # OTLP HTTP
environment:
- GF_SERVER_HTTP_PORT=3000
- GF_AUTH_ANONYMOUS_ENABLED=true
- GF_AUTH_ANONYMOUS_ORG_ROLE=Admin
- GF_FEATURE_TOGGLES_ENABLE=tempoSearch,tempoServiceGraph
volumes:
- otel-data-grafana:/var/lib/grafana
- otel-data-prometheus:/prometheus
- otel-data-tempo:/var/tempo
- otel-data-loki:/loki
networks:
- otel-net
restart: unless-stopped
volumes:
otel-data:
otel-data-grafana:
otel-data-prometheus:
otel-data-tempo:
otel-data-loki:
networks:
otel-net:
driver: bridge