Ajusta docker

This commit is contained in:
LeoMortari
2025-10-22 12:02:38 -03:00
parent b090f7c2cb
commit c641fd6331
9 changed files with 52 additions and 49 deletions

View File

@@ -4,27 +4,32 @@
# OPENROUTER_MODEL="openai/gpt-oss-20b:free"
services:
video-render-new:
video-render:
restart: unless-stopped
build: .
container_name: video-render-new
container_name: video-render
environment:
# RabbitMQ credentials
- RABBITMQ_PASS=${RABBITMQ_PASS}
- GEMINI_API_KEY=${GEMINI_API_KEY}
# - RABBITMQ_PASS=${RABBITMQ_PASS}
- RABBITMQ_PASS="L@l321321321"
# - GEMINI_API_KEY=${GEMINI_API_KEY}
- GEMINI_API_KEY="AIzaSyB5TPjSPPZG1Qb6EtblhKFAjvCOdY15rcw"
- GEMINI_MODEL=${GEMINI_MODEL:-gemini-2.5-pro}
- OPENROUTER_API_KEY=${OPENROUTER_API_KEY}
# - OPENROUTER_API_KEY=${OPENROUTER_API_KEY}
- OPENROUTER_API_KEY="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"
- OPENROUTER_MODEL=${OPENROUTER_MODEL:-openai/gpt-oss-20b:free}
- FASTER_WHISPER_MODEL_SIZE=${FASTER_WHISPER_MODEL_SIZE:-small}
ports:
- "5000:5000"
# ports:
# - "5000:5000"
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"
# - "/root/videos:/app/videos"
# - "/root/outputs:/app/outputs"
- "./videos:/app/videos"
- "./outputs:/app/outputs"
command: "python -u main.py"
# runtime: nvidia