Files
cbwebreader/.env.example
2021-04-07 11:59:52 +01:00

29 lines
755 B
Plaintext

DJANGO_SECRET_KEY = 'Please set me correctly'
DJANGO_DEBUG = False
DJANGO_ALLOWED_HOSTS = 'localhost'
DB_USER=admin
DB_PASS=password
DB_HOST=database
DB_DATABASE=cbwebreader
# https://github.com/jacobian/dj-database-url
DATABASE_URL = 'postgres://${DB_USER}:${DB_PASS}@${DB_HOST}/${DB_DATABASE}'
COMIC_BOOK_VOLUME = '/path/to/comic/folder'
STATIC_ROOT = 'path/to/static/files'
# This expects the office winrar unrar command line tool for windows or linux.
# Will work without setting if it is in the path
# UNRAR_TOOL = 'unrar.exe'
# for google recaptcha 2
# DJANGO_CBREADER_USE_RECAPTCHA = True
# DJANGO_RECAPTCHA_PRIVATE_KEY = ''
# DJANGO_RECAPTCHA_PUBLIC_KEY = ''
# Uncomment the following is using a reverse proxy.
# USE_X_FORWARDED_HOST=True