-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
43 lines (38 loc) · 1.12 KB
/
docker-compose.yml
File metadata and controls
43 lines (38 loc) · 1.12 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
version: '3.8'
services:
xmtp-agent:
build:
context: .
dockerfile: Dockerfile
container_name: intentkit-xmtp-agent
restart: unless-stopped
environment:
# XMTP Configuration
- ENCRYPTION_KEY=${ENCRYPTION_KEY}
- XMTP_ENV=${XMTP_ENV:-dev}
# Coinbase Developer Platform (CDP) Configuration
- CDP_API_KEY_ID=${CDP_API_KEY_ID}
- CDP_API_KEY_SECRET=${CDP_API_KEY_SECRET}
- CDP_WALLET_SECRET=${CDP_WALLET_SECRET}
# IntentKit API Configuration
- INTENTKIT_API_URL=${INTENTKIT_API_URL}
- INTENTKIT_API_KEY=${INTENTKIT_API_KEY}
# Node.js Configuration
- NODE_ENV=${NODE_ENV:-production}
volumes:
# Persist the XMTP database
- xmtp_data:/app/.data
# Uncomment if your agent serves HTTP endpoints
# ports:
# - "3000:3000"
# Health check (matches Dockerfile)
healthcheck:
test: [ "CMD", "node", "-e", "process.exit(0)" ]
interval: 30s
timeout: 10s
retries: 3
start_period: 30s
volumes:
# Named volume for XMTP database persistence
xmtp_data:
driver: local