26 lines
559 B
Bash
26 lines
559 B
Bash
# Veza Stream Server Environment Configuration
|
|
# Edit this file to configure your stream-server service
|
|
|
|
# Environment
|
|
RUST_ENV=production
|
|
RUST_LOG=info
|
|
|
|
# Database
|
|
DATABASE_URL=postgresql://veza:password@10.10.10.10:5432/veza?sslmode=disable
|
|
DB_MAX_CONNECTIONS=10
|
|
DB_CONNECT_TIMEOUT=10
|
|
|
|
# Server
|
|
SERVER_BIND_ADDR=0.0.0.0:3002
|
|
SERVER_WORKERS=0
|
|
|
|
# Audio
|
|
AUDIO_DIR=/opt/veza/stream-server/audio
|
|
MAX_AUDIO_SIZE=104857600
|
|
|
|
# Redis (optional)
|
|
REDIS_URL=redis://10.10.10.10:6379
|
|
REDIS_ENABLED=true
|
|
|
|
# RabbitMQ
|
|
RABBITMQ_URL=amqp://veza:password@10.10.10.10:5672/%2f
|