-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
77 lines (70 loc) · 1.86 KB
/
Copy pathdocker-compose.yml
File metadata and controls
77 lines (70 loc) · 1.86 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
version: '3.8'
services:
yitam-mcp:
build:
context: ../yitam-mcp
dockerfile: Dockerfile
volumes:
- yitam-mcp-dist:/app/dist
server:
build:
context: ./server
dockerfile: Dockerfile
ports:
- "3000:3000"
volumes:
- yitam-mcp-dist:/app/mcp:ro
- server-data:/app/data
- server-uploads:/app/uploads
- context-cache:/app/cache
- weaviate-data:/app/data/weaviate
environment:
- NODE_ENV=production
- PORT=3000
- CLIENT_URL=https://yitam.org
- MCP_SERVER_PATH=/app/mcp/core/server/yitam-tools.js
# Cache Configuration
- CACHE_TYPE=memory
- CACHE_MAX_SIZE=1000
- CACHE_TTL_MINUTES=60
env_file:
- prod.env
depends_on:
- yitam-mcp
restart: unless-stopped
# Optional Redis for enhanced caching (uncomment to enable)
# redis:
# image: redis:7-alpine
# ports:
# - "6379:6379"
# volumes:
# - redis-data:/data
# restart: unless-stopped
# command: redis-server --appendonly yes
client:
build:
context: ./client
dockerfile: Dockerfile
args:
- VITE_SERVER_URL=https://yitam.org
- VITE_CLIENT_URL=https://yitam.org
- VITE_GOOGLE_CLIENT_ID=1027650180838-6ora2sdrjre213ujv9hjah4m8mu3v8ju.apps.googleusercontent.com
ports:
- "80:80"
- "443:443"
volumes:
- ./client/nginx.conf:/etc/nginx/conf.d/default.conf:ro
- ./client/conf.d/blacklist.conf:/etc/nginx/conf.d/blacklist.conf:ro
- ./ssl/yitam.org.crt:/etc/nginx/ssl/yitam.org.crt:ro
- ./ssl/yitam.org.key:/etc/nginx/ssl/yitam.org.key:ro
- /etc/letsencrypt:/etc/letsencrypt:ro
depends_on:
- server
restart: unless-stopped
volumes:
yitam-mcp-dist:
server-data:
server-uploads:
context-cache:
weaviate-data:
# redis-data: # Uncomment if using Redis