Files
Youtube2Feed/docker-compose.yml
salvacybersec 2dc0eb8b19 batch batch
2025-11-13 04:12:05 +03:00

27 lines
742 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

services:
yttranscriptrss:
build: .
container_name: yttranscriptrss
ports:
- "5000:5000" # Web server portu
volumes:
# Veritabanı ve çıktı dosyalarını kalıcı hale getir
- ./data:/app/data
- ./output:/app/output
# Config dosyasını mount et (değişiklikler için)
- ./config:/app/config
environment:
- PYTHONUNBUFFERED=1
- FLASK_ENV=production
dns:
- 100.64.0.39 # Host DNS server
- 8.8.8.8 # Google DNS (fallback)
- 1.1.1.1 # Cloudflare DNS (fallback)
network_mode: bridge
restart: unless-stopped
# Web server modu (varsayılan)
command: python app.py
# Veya batch mode için:
# command: python main.py