Compare commits
2 Commits
f7093e5e58
...
7375ffe830
Author | SHA1 | Date | |
---|---|---|---|
7375ffe830 | |||
8ba82ef0db |
@ -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
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user