-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
68 lines (63 loc) · 1.55 KB
/
docker-compose.yaml
File metadata and controls
68 lines (63 loc) · 1.55 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
name: bevr-app
services:
server:
build:
context: .
dockerfile: ./apps/server/Dockerfile
environment:
PORT: ${SERVER_PORT:-9000}
HOST: 0.0.0.0
ALLOWED_ORIGINS: ${ALLOWED_ORIGINS:-http://localhost:3000}
OTEL_EXPORTER_OTLP_ENDPOINT: http://otel-collector:4318
OTEL_SERVICE_NAME: bevr-server
expose:
- "${SERVER_PORT:-9000}"
networks:
- app-network
server-mcp:
build:
context: .
dockerfile: ./apps/server-mcp/Dockerfile
environment:
MCP_PORT: ${MCP_PORT:-8000}
OTEL_EXPORTER_OTLP_ENDPOINT: http://otel-collector:4318
OTEL_SERVICE_NAME: bevr-server-mcp
expose:
- "${MCP_PORT:-8000}"
networks:
- app-network
client:
build:
context: .
dockerfile: ./apps/client/Dockerfile
args:
SERVER_URL: ${SERVER_URL:-http://localhost:${SERVER_PORT:-9000}}
CLIENT_PORT: ${CLIENT_PORT:-3000}
ports:
- "${CLIENT_PORT:-3000}:${CLIENT_PORT:-3000}"
networks:
- app-network
depends_on:
- server
- server-mcp
otel-collector:
image: otel/opentelemetry-collector-contrib:0.116.1
command: ["--config=/etc/otel-collector-config.yaml"]
volumes:
- ./support/otel-collector-config.yaml:/etc/otel-collector-config.yaml
expose:
- "4317"
- "4318"
networks:
- app-network
jaeger:
image: jaegertracing/all-in-one:1.63.0
ports:
- "16686:16686"
expose:
- "14250"
networks:
- app-network
networks:
app-network:
driver: bridge