-
Notifications
You must be signed in to change notification settings - Fork 388
Expand file tree
/
Copy pathcompose.sockstore.yaml
More file actions
99 lines (90 loc) · 2.15 KB
/
compose.sockstore.yaml
File metadata and controls
99 lines (90 loc) · 2.15 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
services:
# Sock Store
#
front-end:
image: weaveworksdemos/front-end:0.3.12
hostname: front-end
ports:
- 9090:8079
restart: always
cap_drop:
- all
read_only: true
catalogue:
image: roberthouse224/catalogue:amd
hostname: catalogue
restart: always
cap_drop:
- all
cap_add:
- NET_BIND_SERVICE
read_only: true
ports:
- 8081:80
depends_on:
- catalogue-db
catalogue-db:
image: weaveworksdemos/catalogue-db:0.3.0
hostname: catalogue-db
restart: always
environment:
- MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD}
- MYSQL_ALLOW_EMPTY_PASSWORD=true
- MYSQL_DATABASE=socksdb
# Customer Review Database
mongodb:
image: mongo:latest
ports:
- 27017:27017
environment:
- MONGO_INITDB_ROOT_USERNAME=admin
- MONGO_INITDB_ROOT_PASSWORD=password
- MONGO_INITDB_DATABASE=sockstore
volumes:
- ./data/mongodb:/docker-entrypoint-initdb.d:ro
- mongodb_data:/data/db
command: [mongod, --quiet, --logpath, /var/log/mongodb/mongod.log, --logappend, --setParameter, "logComponentVerbosity={network:{verbosity:0}}"]
healthcheck:
test: [CMD, mongosh, --eval, db.adminCommand('ping')]
interval: 10s
timeout: 5s
retries: 5
# Agent
adk-ui:
build:
context: .
dockerfile: Dockerfile.adk-ui
ports:
- 3000:3000
environment:
- API_BASE_URL=http://adk:8000
depends_on:
- adk
adk:
build:
context: .
ports:
# expose port for web interface
- 8000:8000
environment:
# point adk at the MCP gateway
- MCPGATEWAY_ENDPOINT=http://mcp-gateway:8811/sse
- CATALOGUE_URL=http://catalogue:8081
- OPENAI_BASE_URL=https://api.openai.com/v1
- AI_DEFAULT_MODEL=openai/gpt-4
# - OPENAI_MODEL_NAME=gpt4
depends_on:
- mcp-gateway
secrets:
- openai-api-key
volumes:
mongodb_data:
configs:
mcp_config:
content: |
resend:
reply_to: slimslenderslacks@gmail.com
sender: slimslenderslacks@slimslenderslacks.com
secrets:
openai-api-key:
file: secret.openai-api-key