-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.registry.yml
More file actions
85 lines (81 loc) · 2.2 KB
/
docker-compose.registry.yml
File metadata and controls
85 lines (81 loc) · 2.2 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
services:
mcp-server:
image: ghcr.io/wombat45/sleeper-bot-mcp-server:latest
container_name: sleeper-bot-mcp-server
ports:
- "8000:8000"
environment:
- HOST=0.0.0.0
- PORT=8000
- SLEEPER_API_BASE_URL=https://api.sleeper.app/v1
- CACHE_TTL=300
- CACHE_MAX_SIZE=1000
volumes:
- ./logs:/app/logs
networks:
- sleeper-bot-network
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8000/health"]
interval: 30s
timeout: 10s
retries: 3
start_period: 40s
restart: unless-stopped
llm-agent:
image: ghcr.io/wombat45/sleeper-bot-llm-agent:latest
container_name: sleeper-bot-llm-agent
ports:
- "8001:8000"
environment:
- HOST=0.0.0.0
- PORT=8000
- API_KEY=${API_KEY}
- MCP_SERVER_URL=http://mcp-server:8000
- DEFAULT_LEAGUE_ID=${DEFAULT_LEAGUE_ID}
- LLM_PROVIDER=${LLM_PROVIDER:-digitalocean}
- LLM_URL=${LLM_URL:-https://td4bxjc626e5xweih26eppev.agents.do-ai.run/api/v1/chat/completions}
- LLM_API_KEY=${LLM_API_KEY:-O1AD1a0JeIl3B-T9sJvvBgHEHfwIoPze}
- LLM_MODEL=${LLM_MODEL:-llama3.2:latest}
volumes:
- ./logs:/app/logs
networks:
- sleeper-bot-network
depends_on:
mcp-server:
condition: service_healthy
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8000/health"]
interval: 30s
timeout: 10s
retries: 3
start_period: 40s
restart: unless-stopped
discord-bot:
image: ghcr.io/wombat45/sleeper-bot-discord-bot:latest
container_name: sleeper-bot-discord-bot
ports:
- "8002:8000"
environment:
- DISCORD_TOKEN=${DISCORD_TOKEN}
- LLM_API_URL=http://llm-agent:8000
- API_KEY=${API_KEY}
- COMMAND_PREFIX=${COMMAND_PREFIX:-!}
volumes:
- ./logs:/app/logs
networks:
- sleeper-bot-network
depends_on:
llm-agent:
condition: service_healthy
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8000/health"]
interval: 30s
timeout: 10s
retries: 3
start_period: 40s
restart: unless-stopped
networks:
sleeper-bot-network:
driver: bridge
volumes:
logs: