first commit
This commit is contained in:
21
docker-compose.yml
Normal file
21
docker-compose.yml
Normal file
@@ -0,0 +1,21 @@
|
||||
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
|
||||
restart: unless-stopped
|
||||
# Web server modu (varsayılan)
|
||||
command: python app.py
|
||||
# Veya batch mode için:
|
||||
# command: python main.py
|
||||
|
||||
Reference in New Issue
Block a user