-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
108 lines (99 loc) · 2.5 KB
/
Copy pathdocker-compose.yml
File metadata and controls
108 lines (99 loc) · 2.5 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
102
103
104
105
106
107
108
services:
web:
build:
context: .
dockerfile: apps/web/Dockerfile
args:
BFF_URL: http://bff:3001
ports:
- "3000:3000"
environment:
BFF_URL: http://bff:3001
depends_on:
- bff
bff:
build:
context: .
dockerfile: apps/bff/Dockerfile
ports:
- "3001:3001"
environment:
DATABASE_URL: postgres://postgres:postgres@postgres:5432/aiticket
ORCHESTRATOR_URL: http://orchestrator:8000
SESSION_SECRET: ${SESSION_SECRET:-dev-only-do-not-use-in-prod-0000000000000000000000000000000000000000}
depends_on:
- postgres
- orchestrator
orchestrator:
build:
context: .
dockerfile: apps/orchestrator/Dockerfile
ports:
- "8000:8000"
environment:
LLM_PROVIDER: ${LLM_PROVIDER}
LLM_PROVIDER_API_KEY: ${LLM_PROVIDER_API_KEY}
MCP_EVENTS_URL: http://mcp-events:3002/mcp
MCP_COMMERCE_URL: http://mcp-commerce:3003/mcp
MCP_PAYMENTS_URL: http://mcp-payments:3004/mcp
PHOENIX_COLLECTOR_ENDPOINT: http://phoenix:6006
depends_on:
- phoenix
- mcp-events
- mcp-commerce
- mcp-payments
mcp-events:
build:
context: .
dockerfile: apps/mcp-events/Dockerfile
ports:
- "3002:3002"
environment:
DATABASE_URL: postgres://postgres:postgres@postgres:5432/aiticket
depends_on:
- postgres
mcp-commerce:
build:
context: .
dockerfile: apps/mcp-commerce/Dockerfile
ports:
- "3003:3003"
environment:
DATABASE_URL: postgres://postgres:postgres@postgres:5432/aiticket
depends_on:
- postgres
mcp-payments:
build:
context: .
dockerfile: apps/mcp-payments/Dockerfile
ports:
- "3004:3004"
environment:
DATABASE_URL: postgres://postgres:postgres@postgres:5432/aiticket
STRIPE_MOCK_URL: http://stripe-mock:12111
depends_on:
- postgres
- stripe-mock
phoenix:
image: arizephoenix/phoenix:latest
ports:
- "6006:6006"
- "4317:4317"
stripe-mock:
image: stripe/stripe-mock:latest
ports:
- "12111:12111"
postgres:
image: postgres:16
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: aiticket
ports:
- "5432:5432"
volumes:
- postgres_data:/var/lib/postgresql/data
- ./postgres/schema.sql:/docker-entrypoint-initdb.d/01-schema.sql
- ./postgres/seed.sql:/docker-entrypoint-initdb.d/02-seed.sql
volumes:
postgres_data: