44 lines
1.4 KiB
YAML
44 lines
1.4 KiB
YAML
# GEMINI_API_KEY="AIzaSyB5TPjSPPZG1Qb6EtblhKFAjvCOdY15rcw"
|
|
# YOUTUBE_API="https://totally-real-dingo.ngrok-free.app"
|
|
# OPENROUTER_API_KEY="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"
|
|
# OPENROUTER_MODEL="openai/gpt-oss-20b:free"
|
|
|
|
services:
|
|
video-render-new:
|
|
restart: unless-stopped
|
|
build: .
|
|
container_name: video-render-new
|
|
environment:
|
|
# RabbitMQ credentials
|
|
- RABBITMQ_PASS=${RABBITMQ_PASS}
|
|
- GEMINI_API_KEY=${GEMINI_API_KEY}
|
|
- GEMINI_MODEL=${GEMINI_MODEL:-gemini-2.5-pro}
|
|
- OPENROUTER_API_KEY=${OPENROUTER_API_KEY}
|
|
- OPENROUTER_MODEL=${OPENROUTER_MODEL:-openai/gpt-oss-20b:free}
|
|
- FASTER_WHISPER_MODEL_SIZE=${FASTER_WHISPER_MODEL_SIZE:-small}
|
|
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"
|
|
command: "python -u main.py"
|
|
# runtime: nvidia
|
|
|
|
# networks:
|
|
# - dokploy-network
|
|
|
|
# deploy:
|
|
# resources:
|
|
# reservations:
|
|
# devices:
|
|
# - driver: nvidia
|
|
# count: all
|
|
# capabilities: [gpu]
|
|
# networks:
|
|
# dokploy-network:
|
|
# external: true
|