-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
56 lines (54 loc) · 1.65 KB
/
docker-compose.yml
File metadata and controls
56 lines (54 loc) · 1.65 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
version: "3.9"
services:
# ── Ridhwan Agent Runtime ──
ridhwan:
build:
context: .
dockerfile: Dockerfile
container_name: ridhwan-agent
restart: unless-stopped
ports:
- "${PORT:-3000}:3000"
- "${DASHBOARD_PORT:-3001}:3001"
environment:
- NODE_ENV=production
- PORT=3000
- DASHBOARD_PORT=3001
- DB_PATH=/app/data/ridhwan.db
# SURGE
- SURGE_API_URL=${SURGE_API_URL:-https://back.surge.xyz}
- SURGE_API_KEY=${SURGE_API_KEY:-}
- SURGE_WALLET_ID=${SURGE_WALLET_ID:-}
- SURGE_CHAIN_ID=${SURGE_CHAIN_ID:-1}
# Moltbook
- MOLTBOOK_API_URL=${MOLTBOOK_API_URL:-https://www.moltbook.com/api/v1}
- MOLTBOOK_API_KEY=${MOLTBOOK_API_KEY:-}
- MOLTBOOK_SUBMOLT=${MOLTBOOK_SUBMOLT:-lablab}
# x402 Gasless
- X402_ENDPOINT=${X402_ENDPOINT:-}
- X402_API_KEY=${X402_API_KEY:-}
# LLM
- AZURE_OPENAI_ENDPOINT=${AZURE_OPENAI_ENDPOINT:-}
- AZURE_OPENAI_API_KEY=${AZURE_OPENAI_API_KEY:-}
- AZURE_OPENAI_DEPLOYMENT=${AZURE_OPENAI_DEPLOYMENT:-}
- AZURE_OPENAI_API_VERSION=${AZURE_OPENAI_API_VERSION:-}
- HUGGINGFACE_API_KEY=${HUGGINGFACE_API_KEY:-}
# Agent
- AGENT_NAME=${AGENT_NAME:-ridhwan-agent-01}
- AGENT_ID=${AGENT_ID:-}
volumes:
- ridhwan-data:/app/data
healthcheck:
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:3000/api/health"]
interval: 30s
timeout: 5s
retries: 3
start_period: 15s
logging:
driver: json-file
options:
max-size: "10m"
max-file: "3"
volumes:
ridhwan-data:
driver: local