Initial commit — YT Hub
Self-hosted personal YouTube management app. FastAPI + SQLite backend, React + Vite + Tailwind frontend. Dockerfiles and compose included for Portainer deployment. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
29
docker-compose.yml
Normal file
29
docker-compose.yml
Normal file
@@ -0,0 +1,29 @@
|
||||
services:
|
||||
backend:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: backend/Dockerfile
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ./data/db:/data
|
||||
- ${DOWNLOAD_PATH:-./downloads}:/downloads
|
||||
environment:
|
||||
DATABASE_URL: sqlite:////data/app.db
|
||||
DOWNLOAD_PATH: /downloads
|
||||
SECRET_KEY: ${SECRET_KEY:-changeme}
|
||||
JELLYFIN_URL: ${JELLYFIN_URL:-}
|
||||
ALLOW_REGISTRATION: ${ALLOW_REGISTRATION:-true}
|
||||
ports:
|
||||
- "8000:8000"
|
||||
|
||||
frontend:
|
||||
build:
|
||||
context: ./frontend
|
||||
dockerfile: Dockerfile
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "5173:80"
|
||||
depends_on:
|
||||
- backend
|
||||
|
||||
volumes: {}
|
||||
Reference in New Issue
Block a user