2025-11-13 03:25:21 +03:00
|
|
|
|
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
|
2025-11-13 04:12:05 +03:00
|
|
|
|
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
|
2025-11-13 03:25:21 +03:00
|
|
|
|
restart: unless-stopped
|
|
|
|
|
|
# Web server modu (varsayılan)
|
|
|
|
|
|
command: python app.py
|
|
|
|
|
|
# Veya batch mode için:
|
|
|
|
|
|
# command: python main.py
|
|
|
|
|
|
|