-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
69 lines (66 loc) · 1.62 KB
/
docker-compose.yml
File metadata and controls
69 lines (66 loc) · 1.62 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
services:
postgres:
image: postgres:17-alpine
container_name: shark-bot-postgres-container
env_file: .env
volumes:
- pgdata:/var/lib/postgresql/data
ports:
- "5432"
healthcheck:
test: ["CMD", "pg_isready", "-U", "postgres_user", "-d", "app_db"]
interval: 5s
timeout: 3s
retries: 5
api:
env_file: .env
container_name: shark-bot-api-container
build:
context: .
dockerfile: Dockerfile
target: base
args:
ENVIRONMENT: ${ENVIRONMENT}
command: sh -c "sleep 5 && python manage.py runserver 0.0.0.0:8000"
stdin_open: true
tty: true
depends_on:
postgres:
condition: service_healthy
volumes:
- .:/app
ports:
- "8099:8000"
# TrendRadar - News aggregation service
trend-radar:
image: wantcat/trendradar:latest
container_name: shark-bot-trendradar
env_file: .env
environment:
- ENABLE_CRAWLER=true
- ENABLE_NOTIFICATION=false
- REPORT_MODE=incremental
- ENABLE_WEBSERVER=true
- WEBSERVER_PORT=8080
volumes:
- ./trendradar/config:/app/config
- ./trendradar/output:/app/output
ports:
- "8097:8080"
restart: unless-stopped
# TrendRadar MCP - AI analysis service (optional)
trend-radar-mcp:
image: wantcat/trendradar-mcp:latest
container_name: shark-bot-trendradar-mcp
env_file: .env
environment:
- PULL_ENABLED=false
- PULL_DAYS=7
volumes:
- ./trendradar/config:/app/config
- ./trendradar/output:/app/output
ports:
- "3333:3333"
restart: unless-stopped
volumes:
pgdata: {}