docker-compose.yml fixes

This commit is contained in:
2021-05-04 12:45:31 +01:00
parent 95f2fb8fb0
commit 94a1dd0e01
3 changed files with 36 additions and 17 deletions

View File

@@ -1,10 +1,10 @@
# Set this or it won't work.
DJANGO_SECRET_KEY =
DJANGO_DEBUG = False
DJANGO_DEBUG=False
#set this to the hostname of your server.
DJANGO_ALLOWED_HOSTS = 'localhost'
DJANGO_ALLOWED_HOSTS='localhost'
DB_USER=admin
#Please set a better password
@@ -13,14 +13,14 @@ DB_HOST=database
DB_DATABASE=cbwebreader
# https://github.com/jacobian/dj-database-url
DATABASE_URL = 'postgres://${DB_USER}:${DB_PASS}@${DB_HOST}/${DB_DATABASE}'
DATABASE_URL='postgres://${DB_USER}:${DB_PASS}@${DB_HOST}/${DB_DATABASE}'
#Path to your comics.
COMIC_BOOK_VOLUME = '/path/to/comic/folder'
COMIC_BOOK_VOLUME=/path/to/comic/folder
STATIC_ROOT = '/static'
STATIC_ROOT=/static
MEDIA_ROOT = './media'
MEDIA_ROOT='./media'
# This expects the office winrar unrar command line tool for windows or linux.
# Will work without setting if it is in the path