Aria / docker-compose.yml
teganmosi
Deploy Aria application with fixes for database, TTS, and WebSocket (LFS tracking applied)
f6d0a88
Raw
History Blame Contribute Delete
680 Bytes
version: '3.8'
services:
aria:
build: .
ports:
- "8000:8000"
environment:
- OPENAI_API_KEY=${OPENAI_API_KEY}
- SECRET_KEY=${SECRET_KEY}
- API_BIBLE_KEY=${API_BIBLE_KEY}
- REDIS_ENABLED=false
volumes:
- ./aria.db:/app/aria.db
- ./static:/app/static
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8000/health"]
interval: 30s
timeout: 10s
retries: 3
restart: unless-stopped
redis:
image: redis:7-alpine
ports:
- "6379:6379"
command: redis-server --appendonly yes
volumes:
- redis_data:/data
profiles:
- with-redis
volumes:
redis_data: