Add Docker support; add favicon
This commit is contained in:
parent
fd856d839b
commit
033c13e931
18 changed files with 264 additions and 107 deletions
18
docker-compose.yml
Normal file
18
docker-compose.yml
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue