-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.prod.yml
More file actions
200 lines (186 loc) · 4.72 KB
/
docker-compose.prod.yml
File metadata and controls
200 lines (186 loc) · 4.72 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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
# Docker Compose file for ACCESS-CI MCP Servers - Production
# Uses pre-built images from GitHub Container Registry
services:
# Caddy Reverse Proxy
caddy:
image: caddy:2-alpine
ports:
- "443:443"
- "80:80"
volumes:
- ./Caddyfile:/etc/caddy/Caddyfile:ro
- caddy_data:/data
- caddy_config:/config
extra_hosts:
- "host.docker.internal:host-gateway"
restart: unless-stopped
depends_on:
- mcp-compute-resources
- mcp-system-status
- mcp-software-discovery
- mcp-xdmod
- mcp-allocations
- mcp-nsf-awards
- mcp-xdmod-data
- mcp-announcements
- mcp-events
- mcp-affinity-groups
- mcp-jsm
# TypeScript MCP Servers
mcp-affinity-groups:
image: ghcr.io/${GITHUB_REPOSITORY:-necyberteam/access-mcp}/affinity-groups:latest
ports:
- "3011:3000"
restart: unless-stopped
environment:
- NODE_ENV=production
- PORT=3000
deploy:
resources:
limits:
memory: 128M
mcp-compute-resources:
image: ghcr.io/${GITHUB_REPOSITORY:-necyberteam/access-mcp}/compute-resources:latest
ports:
- "3002:3000"
restart: unless-stopped
environment:
- NODE_ENV=production
- PORT=3000
deploy:
resources:
limits:
memory: 128M
mcp-system-status:
image: ghcr.io/${GITHUB_REPOSITORY:-necyberteam/access-mcp}/system-status:latest
ports:
- "3003:3000"
restart: unless-stopped
environment:
- NODE_ENV=production
- PORT=3000
deploy:
resources:
limits:
memory: 128M
mcp-software-discovery:
image: ghcr.io/${GITHUB_REPOSITORY:-necyberteam/access-mcp}/software-discovery:latest
ports:
- "3004:3000"
restart: unless-stopped
environment:
- NODE_ENV=production
- PORT=3000
- SDS_API_KEY=${SDS_API_KEY}
deploy:
resources:
limits:
memory: 128M
mcp-xdmod:
image: ghcr.io/${GITHUB_REPOSITORY:-necyberteam/access-mcp}/xdmod:latest
ports:
- "3005:3000"
restart: unless-stopped
environment:
- NODE_ENV=production
- PORT=3000
deploy:
resources:
limits:
memory: 128M
mcp-allocations:
image: ghcr.io/${GITHUB_REPOSITORY:-necyberteam/access-mcp}/allocations:latest
ports:
- "3006:3000"
restart: unless-stopped
environment:
- NODE_ENV=production
- PORT=3000
- ACCESS_MCP_SERVICES=${ACCESS_MCP_SERVICES}
deploy:
resources:
limits:
memory: 128M
mcp-nsf-awards:
image: ghcr.io/${GITHUB_REPOSITORY:-necyberteam/access-mcp}/nsf-awards:latest
ports:
- "3007:3000"
restart: unless-stopped
environment:
- NODE_ENV=production
- PORT=3000
deploy:
resources:
limits:
memory: 128M
mcp-announcements:
image: ghcr.io/${GITHUB_REPOSITORY:-necyberteam/access-mcp}/announcements:latest
ports:
- "3009:3000"
restart: unless-stopped
environment:
- NODE_ENV=production
- PORT=3000
- DRUPAL_API_URL=${DRUPAL_API_URL:-https://support.access-ci.org}
- DRUPAL_USERNAME=${DRUPAL_USERNAME}
- DRUPAL_PASSWORD=${DRUPAL_PASSWORD}
- MCP_API_KEY=${MCP_API_KEY}
deploy:
resources:
limits:
memory: 128M
mcp-events:
image: ghcr.io/${GITHUB_REPOSITORY:-necyberteam/access-mcp}/events:latest
ports:
- "3010:3000"
restart: unless-stopped
environment:
- NODE_ENV=production
- PORT=3000
- DRUPAL_API_URL=${DRUPAL_API_URL:-https://support.access-ci.org}
- DRUPAL_USERNAME=${DRUPAL_USERNAME}
- DRUPAL_PASSWORD=${DRUPAL_PASSWORD}
- MCP_API_KEY=${MCP_API_KEY}
deploy:
resources:
limits:
memory: 128M
mcp-jsm:
image: ghcr.io/${GITHUB_REPOSITORY:-necyberteam/access-mcp}/jsm:latest
ports:
- "3012:3000"
restart: unless-stopped
environment:
- NODE_ENV=production
- PORT=3000
- JSM_PROXY_URL=${JSM_PROXY_URL:-https://access-jsm-api.netlify.app}
- MCP_API_KEY=${MCP_API_KEY}
deploy:
resources:
limits:
memory: 128M
# Python MCP Server
mcp-xdmod-data:
image: ghcr.io/${GITHUB_REPOSITORY:-necyberteam/access-mcp}/xdmod-mcp-data:latest
ports:
- "3008:3000"
restart: unless-stopped
environment:
- PYTHONUNBUFFERED=1
- XDMOD_API_TOKEN=${XDMOD_API_TOKEN}
- PORT=3000
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:3000/health"]
interval: 30s
timeout: 10s
retries: 3
deploy:
resources:
limits:
memory: 256M
volumes:
caddy_data:
caddy_config:
networks:
default:
name: mcp-network