Init repo

This commit is contained in:
Leonardo Mortari
2025-07-31 19:29:14 -03:00
commit 55c7ccf316
7 changed files with 314 additions and 0 deletions

31
docker-compose.yml Normal file
View File

@@ -0,0 +1,31 @@
services:
video-render-api:
restart: unless-stopped
build: .
container_name: video-render-api
ports:
- "5000:5000"
volumes:
# - /home/well/outputs:/app/outputs
# - /home/well/videosDownload:/app/videos
# - /home/well/tempVideos:/app/temp
- ".:/app" # descomentar somente se for rodar no windows/linux local
# gpus: all
# environment:
# - NVIDIA_VISIBLE_DEVICES=all
# - NVIDIA_DRIVER_CAPABILITIES=compute,video,utility
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