-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
76 lines (68 loc) · 1.92 KB
/
docker-compose.yaml
File metadata and controls
76 lines (68 loc) · 1.92 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
services:
postgres:
image: ankane/pgvector:latest
environment:
- POSTGRES_PASSWORD=postgres
- POSTGRES_USER=postgres
- POSTGRES_DB=bookr
- PGDATA=/var/lib/postgresql/data/pgdata
volumes:
- postgres-data:/var/lib/postgresql/data:rw
ports:
- '5433:5432'
healthcheck:
test: ['CMD-SHELL', 'pg_isready -U $${POSTGRES_USER} -d $${POSTGRES_DB}']
interval: 5s
timeout: 5s
retries: 5
restart: always
networks:
- eliza-network
elizaos:
image: ${DOCKER_IMAGE:-elizaos:latest}
build:
context: .
dockerfile: Dockerfile
container_name: elizaos
profiles:
- elizaos
environment:
# Core AI providers (at least one required)
- OPENAI_API_KEY=${OPENAI_API_KEY:-}
- ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY:-}
# Database (required for production)
- POSTGRES_URL=${POSTGRES_URL}
# Server configuration
- SERVER_PORT=${SERVER_PORT:-3000}
- ELIZA_UI_ENABLE=${ELIZA_UI_ENABLE:-true}
- NODE_ENV=${NODE_ENV:-production}
- LOG_LEVEL=${LOG_LEVEL:-info}
# Optional: Add these based on your plugins
# Discord
- DISCORD_APPLICATION_ID=${DISCORD_APPLICATION_ID:-}
- DISCORD_API_TOKEN=${DISCORD_API_TOKEN:-}
# Solana
- SOLANA_PRIVATE_KEY=${SOLANA_PRIVATE_KEY:-}
- SOLANA_PUBLIC_KEY=${SOLANA_PUBLIC_KEY:-}
- BIRDEYE_API_KEY=${BIRDEYE_API_KEY:-}
# EVM
- EVM_CHAINS=${EVM_CHAINS:-}
# Voice/Audio
- ELEVENLABS_API_KEY=${ELEVENLABS_API_KEY:-}
- ELEVENLABS_VOICE_ID=${ELEVENLABS_VOICE_ID:-}
# Other AI providers
- REDPILL_API_KEY=${REDPILL_API_KEY:-}
ports:
- '3000:3000'
- '50000-50100:50000-50100/udp'
depends_on:
postgres:
condition: service_healthy
restart: always
networks:
- eliza-network
networks:
eliza-network:
driver: bridge
volumes:
postgres-data: