-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Expand file tree
/
Copy pathdocker-compose.codespace.yml
More file actions
84 lines (77 loc) · 2.44 KB
/
docker-compose.codespace.yml
File metadata and controls
84 lines (77 loc) · 2.44 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
#
# Codespace overlay: runs Rust/Go services as pre-built Docker containers
# instead of building from source. Loaded only when POSTHOG_DEVBOX=1.
#
# Port mappings match bin/start-rust-service and bin/start-go-service
# defaults so the proxy Caddyfile in docker-compose.dev.yml works unchanged
# (proxy reaches services via extra_hosts host-gateway + mapped host ports).
#
services:
# feature-flags is already defined in docker-compose.dev.yml but without
# a host port mapping (native binary normally listens on host:3001).
# Add the port so the proxy can reach the container via host-gateway.
feature-flags:
ports:
- '3001:3001'
# property-defs-rs is not in docker-compose.dev.yml (only runs natively).
# Define it here so it starts as a container in codespace mode.
property-defs-rs:
extends:
file: docker-compose.base.yml
service: property-defs-rs
depends_on:
kafka:
condition: service_healthy
db:
condition: service_healthy
# --- Profile-gated services (activated by intent resolution) ---
replay-capture:
extends:
file: docker-compose.base.yml
service: replay-capture
ports:
- '3306:3000'
depends_on:
kafka:
condition: service_healthy
redis7:
condition: service_healthy
profiles:
- capture_replay
capture-ai:
extends:
file: docker-compose.base.yml
service: capture-ai
ports:
- '3309:3000'
depends_on:
kafka:
condition: service_healthy
redis7:
condition: service_healthy
objectstorage:
condition: service_started
profiles:
- capture_ai
cyclotron-janitor:
extends:
file: docker-compose.base.yml
service: cyclotron-janitor
depends_on:
kafka:
condition: service_healthy
db:
condition: service_healthy
profiles:
- codespace_cyclotron
livestream:
extends:
file: docker-compose.base.yml
service: livestream
ports:
- '8666:8080'
depends_on:
kafka:
condition: service_started
profiles:
- codespace_livestream