-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
67 lines (63 loc) · 1.48 KB
/
docker-compose.yml
File metadata and controls
67 lines (63 loc) · 1.48 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
services:
api:
build:
context: .
dockerfile: apps/api/Dockerfile
ports:
- "3472:3472"
env_file: .env
environment:
PORT: 3472
depends_on:
otel-collector:
condition: service_started
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:3472/health"]
interval: 10s
timeout: 5s
retries: 3
web:
build:
context: .
dockerfile: apps/web/Dockerfile
args:
VITE_API_BASE_URL: ${VITE_API_BASE_URL:-http://localhost:3472}
VITE_MAPLE_AUTH_MODE: ${MAPLE_AUTH_MODE:-self_hosted}
ports:
- "3471:80"
ingest:
build:
context: .
dockerfile: apps/ingest/Dockerfile
ports:
- "3474:3474"
env_file: .env
environment:
INGEST_PORT: 3474
INGEST_FORWARD_OTLP_ENDPOINT: http://otel-collector:4318
INGEST_FORWARD_TIMEOUT_MS: 10000
INGEST_MAX_REQUEST_BODY_BYTES: 20971520
INGEST_REQUIRE_TLS: "false"
depends_on:
otel-collector:
condition: service_started
otel-collector:
build:
context: .
dockerfile: otel/Dockerfile
ports:
- "4317:4317"
- "4318:4318"
- "13133:13133"
env_file: .env
environment:
SD_API_HOST: api
SD_API_PORT: 3472
SD_INTERNAL_TOKEN: ${SD_INTERNAL_TOKEN:-maple-sd-dev-token}
volumes:
- otel-queue-data:/var/lib/otelcol/file_storage
depends_on:
api:
condition: service_healthy
volumes:
otel-queue-data: