forked from TauricResearch/TradingAgents
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
42 lines (39 loc) · 958 Bytes
/
docker-compose.yml
File metadata and controls
42 lines (39 loc) · 958 Bytes
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
services:
backend:
build:
context: .
dockerfile: backend/Dockerfile
container_name: tradingagents-backend
ports:
- "8000:8000"
environment:
- OPENAI_API_KEY=${OPENAI_API_KEY}
- ALPHA_VANTAGE_API_KEY=${ALPHA_VANTAGE_API_KEY}
- TRADINGAGENTS_RESULTS_DIR=/app/results
- TRADINGAGENTS_DATA_CACHE_DIR=/app/results/data_cache
volumes:
- ./results:/app/results
- ./tradingagents:/app/tradingagents
networks:
- tradingagents-network
restart: unless-stopped
frontend:
build:
context: ./frontend
dockerfile: Dockerfile
container_name: tradingagents-frontend
ports:
- "3000:3000"
environment:
- NEXT_PUBLIC_API_URL=
- BACKEND_URL=http://backend:8000
depends_on:
- backend
networks:
- tradingagents-network
restart: unless-stopped
networks:
tradingagents-network:
driver: bridge
volumes:
results: