-
-
Notifications
You must be signed in to change notification settings - Fork 22
/
docker-compose.yml
72 lines (67 loc) · 2.03 KB
/
docker-compose.yml
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
version: "3.8"
services:
backend:
image: extender777/allchat-backend
ports:
- "6001:5000"
- "6002:6002"
environment:
- NODE_ENV=production
- GOOGLE_KEY=${GOOGLE_KEY}
- GOOGLE_CLIENT_ID=${GOOGLE_CLIENT_ID}
- STABILITY_KEY=${STABILITY_KEY}
- CLAUDE_KEY=${CLAUDE_KEY}
- STRIPE_KEY=${STRIPE_KEY}
- STRIPE_WH_SECRET=${STRIPE_WH_SECRET}
- JWT_TOKEN=${JWT_TOKEN}
- OPENWEATHER_API_KEY=${OPENWEATHER_API_KEY}
- YAHOO_FINANCE_API_KEY=${YAHOO_FINANCE_API_KEY}
- TELEGRAM_KEY=${TELEGRAM_KEY}
- EMAIL=${EMAIL}
- EMAIL_PASSWORD=${EMAIL_PASSWORD}
- FRONTEND_URL=${FRONTEND_URL}
- TOGETHER_KEY=${TOGETHER_KEY}
- OPENAI_KEY=${OPENAI_KEY}
- GEMINI_KEY=${GEMINI_KEY}
- MISTRAL_KEY=${MISTRAL_KEY}
restart: unless-stopped
volumes:
- ./allchat.json:/app/allchat.json
depends_on:
- mongodb
frontend:
image: extender777/allchat-frontend
environment:
- NODE_ENV=production
ports:
- "8585:80"
restart: unless-stopped
depends_on:
- backend
logging:
driver: none
mongodb:
image: mongo:latest
volumes:
- mongo-data:/data/db
restart: unless-stopped
logging:
driver: none
python-shell:
image: python:3.12
volumes:
- ./python-scripts:/app
- ./requirements.txt:/requirements.txt
restart: unless-stopped
working_dir: /app
command: ["sh", "-c", "pip install --no-cache-dir -r /requirements.txt && python -u shell.py"]
deploy:
resources:
limits:
cpus: "0.5"
memory: 512M
environment:
- PYTHONUNBUFFERED=1
- PYTHON_SERVER_PORT=8000
volumes:
mongo-data: