feat(main): main

This commit is contained in:
2026-03-09 13:29:23 -04:00
parent f14454b4c8
commit b1a93161c0
22 changed files with 719 additions and 192 deletions

View File

@@ -17,6 +17,8 @@ services:
command: python manage.py runserver 0.0.0.0:8000
volumes:
- .:/app
- ./mock:/mock
- ./cache:/tmp/pytv_cache
ports:
- "8000:8000"
environment:
@@ -26,5 +28,19 @@ services:
depends_on:
- db
cache_worker:
build: .
command: python manage.py run_cache_worker
volumes:
- .:/app
- ./mock:/mock
- ./cache:/tmp/pytv_cache
environment:
- DEBUG=True
- SECRET_KEY=django-insecure-development-key-replace-in-production
- DATABASE_URL=postgres://pytv_user:pytv_password@db:5432/pytv_db
depends_on:
- db
volumes:
postgres_data: