-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
64 lines (57 loc) · 1.65 KB
/
Copy pathdocker-compose.yml
File metadata and controls
64 lines (57 loc) · 1.65 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
x-flo-service: &flo-service
build:
context: .
image: flo-demo:local
restart: unless-stopped
networks: [flo]
services:
shop:
<<: *flo-service
command: ["node", "services/mock-shop-api/dist/index.js"]
environment:
SHOP_API_HOST: 0.0.0.0
ports: ["127.0.0.1:4101:4101"]
inventory:
<<: *flo-service
command: ["node", "services/mock-inventory-api/dist/index.js"]
environment:
INVENTORY_API_HOST: 0.0.0.0
ports: ["127.0.0.1:4102:4102"]
supplier:
<<: *flo-service
command: ["node", "services/mock-supplier-api/dist/index.js"]
environment:
SUPPLIER_API_HOST: 0.0.0.0
ports: ["127.0.0.1:4103:4103"]
customer:
<<: *flo-service
command: ["node", "services/mock-customer-api/dist/index.js"]
environment:
CUSTOMER_API_HOST: 0.0.0.0
ports: ["127.0.0.1:4104:4104"]
mcp:
<<: *flo-service
command: ["node", "services/flo-mcp/dist/index.js"]
depends_on: [shop, inventory, supplier, customer]
environment:
MCP_HOST: 0.0.0.0
SHOP_API_URL: http://shop:4101
INVENTORY_API_URL: http://inventory:4102
SUPPLIER_API_URL: http://supplier:4103
CUSTOMER_API_URL: http://customer:4104
FLO_DEMO_MODE: "true"
ALLOWED_HOSTNAMES: mcp,localhost,127.0.0.1
ALLOWED_ORIGIN_HOSTNAMES: simulator,localhost,127.0.0.1
ports: ["127.0.0.1:4100:4100"]
simulator:
<<: *flo-service
command: ["node", "apps/alexa-simulator/dist/server.js"]
depends_on: [mcp]
environment:
SIMULATOR_HOST: 0.0.0.0
MCP_URL: http://mcp:4100/mcp
FLO_DEMO_MODE: "true"
ports: ["127.0.0.1:4200:4200"]
networks:
flo:
driver: bridge