Compare commits

..

2 Commits

Author SHA1 Message Date
7375ffe830 changed db path 2021-02-15 11:50:20 +01:00
8ba82ef0db changed log folder 2021-02-15 11:49:33 +01:00
2 changed files with 2 additions and 2 deletions

View File

@ -190,7 +190,7 @@ WSGI_APPLICATION = 'CalibreWebCompanion.wsgi.application'
# https://docs.djangoproject.com/en/3.0/ref/settings/#databases # https://docs.djangoproject.com/en/3.0/ref/settings/#databases
if usersettings["ISDOCKER"]: if usersettings["ISDOCKER"]:
defaultdb_path = "/usr/src/app/data/" defaultdb_path = "calibre"
else: else:
defaultdb_path = BASE_DIR defaultdb_path = BASE_DIR

View File

@ -8,7 +8,7 @@
"127.0.0.1" "127.0.0.1"
], ],
"DEBUG" : true, "DEBUG" : true,
"LOGFOLDER" : "/usr/src/app/data/logs/", "LOGFOLDER" : "/cwebcomp/logs",
"ISDOCKER" : true "ISDOCKER" : true