Environment variables
DB_NAME=postgres
DB_USER=postgres
DB_PASSWORD=postgres
DB_HOST=postgres-db
DB_PORT=5432
CELERY_BROKER_URL=redis://redis:6379
LOSTFILM_UID=
LOSTFILM_USESS=
TELEGRAMBOT_KEY=
TELEGRAMBOT_CHATID=
Start app:
sh -c "python manage.py migrate --noinput && python manage.py runserver 0.0.0.0:8000"
Start worker:
sh -c "celery -A torrents_downloader worker -l info"
Start beat:
sh -c "celery -A torrents_downloader beat -l info --scheduler django_celery_beat.schedulers:DatabaseScheduler"
Volumes:
app: /app/torrents
worker: /torrents
Content type
Image
Digest
Size
129.4 MB
Last updated
over 7 years ago
docker pull frameworkby/torrents-downloader