Add Docker support; add favicon

This commit is contained in:
Joakim Hellsén 2026-01-09 20:28:28 +01:00
commit 033c13e931
No known key found for this signature in database
18 changed files with 264 additions and 107 deletions

18
docker-compose.yml Normal file
View file

@ -0,0 +1,18 @@
services:
ttvdrops:
container_name: ttvdrops
build: .
ports:
- "8000:8000"
env_file: .env
environment:
- DJANGO_SECRET_KEY=${DJANGO_SECRET_KEY?Please set DJANGO_SECRET_KEY in your environment}
- DEBUG=1
- EMAIL_HOST=${EMAIL_HOST:-smtp.example.com}
- EMAIL_PORT=${EMAIL_PORT:-587}
- EMAIL_HOST_USER=${EMAIL_HOST_USER:-}
- EMAIL_HOST_PASSWORD=${EMAIL_HOST_PASSWORD:-}
volumes:
# Data is stored in /home/root/.local/share/TTVDrops" inside the container
- ./data:/home/root/.local/share/TTVDrops
restart: unless-stopped