Files
video-render/docker-compose.yml
LeoMortari 0c0a9c3b5c Inicia novos recursos
Dentre eles estão recurso de adicao do faster-whisper, geração de legenda e integracao com Gemini e Open Router
2025-10-17 09:27:50 -03:00

35 lines
1.2 KiB
YAML

services:
video-render-new:
restart: unless-stopped
build: .
container_name: video-render-new
environment:
# RabbitMQ credentials
- RABBITMQ_PASS=${RABBITMQ_PASS}
- RABBITMQ_HOST=${RABBITMQ_HOST}
- RABBITMQ_USER=${RABBITMQ_USER}
- RABBITMQ_PORT=${RABBITMQ_PORT}
- RABBITMQ_QUEUE=${RABBITMQ_QUEUE}
- RABBITMQ_UPLOAD_QUEUE=${RABBITMQ_UPLOAD_QUEUE}
# API keys for the LLMs
- GEMINI_API_KEY=${GEMINI_API_KEY}
- OPENROUTER_API_KEY=${OPENROUTER_API_KEY}
- OPENROUTER_MODEL=${OPENROUTER_MODEL}
# Optional whisper settings
- WHISPER_MODEL=${WHISPER_MODEL}
- WHISPER_DEVICE=${WHISPER_DEVICE}
- WHISPER_COMPUTE_TYPE=${WHISPER_COMPUTE_TYPE}
volumes:
# Mount host directories into the container so that videos can be
# provided and outputs collected. These paths can be customised when
# deploying the stack. The defaults assume /root/videos and
# /root/outputs on the host.
- "/root/videos:/app/videos"
- "/root/outputs:/app/outputs"
command: "python -u main.py"
networks:
- dokploy-network
networks:
dokploy-network:
external: true