Public | Automated Build

Last pushed: 7 days ago
Short Description
A django website to manage the applications in the tbaxx/torrentapps repo.
Full Description

The image is built on Ubuntu 16.04, and the website uses a Apache/Python3/Django stack.
It is tested to work against an SQLite or a PostgreSQL backend.

How to start the website:

TORRENTAPPS_DB_STRING="django.db.backends.sqlite3:///var/db/db.sqlite3"
TORRENTAPPS_SECRET_KEY="a_django_secret_key"
TORRENTAPPS_HOST="example.com"

docker run -d -p 80:80 \
  -e TORRENTAPPS_DB_STRING=$TORRENTAPPS_DB_STRING \
  -e TORRENTAPPS_SECRET_KEY=$TORRENTAPPS_SECRET_KEY \
  -e TORRENTAPPS_HOST=$TORRENTAPPS_HOST \
  tbaxx/torrentapps-web

How to create a fresh database, or upgrade an existing one:

TORRENTAPPS_DB_STRING="django.db.backends.sqlite3:///var/db/db.sqlite3"
TORRENTAPPS_SECRET_KEY="a_django_secret_key"
TORRENTAPPS_HOST="example.com"

docker run -it --rm \
  -e TORRENTAPPS_DB_STRING=$TORRENTAPPS_DB_STRING \
  -e TORRENTAPPS_SECRET_KEY=$TORRENTAPPS_SECRET_KEY \
  -e TORRENTAPPS_HOST=$TORRENTAPPS_HOST \
  tbaxx/torrentapps-web python3 manage.py syncdb
Docker Pull Command
Owner
tbaxx
Source Repository

Comments (0)