mirror of
https://github.com/ajurna/cbwebreader.git
synced 2026-11-02 10:36:55 +00:00
docker-compose.yml fixes
This commit is contained in:
1 parent
1fa5005c69
commit
d175a790fa
1 file changed
+2
-1
@@ -11,7 +11,8 @@ from dotenv import load_dotenv
|
||||
|
||||
BASE_DIR = Path(__file__).parent.parent.parent
|
||||
|
||||
load_dotenv(Path(BASE_DIR, '.env'))
|
||||
if os.environ.get("DJANGO_SECRET_KEY", False):
|
||||
load_dotenv(Path(BASE_DIR, '.env'))
|
||||
|
||||
# Quick-start development settings - unsuitable for production
|
||||
# See https://docs.djangoproject.com/en/1.8/howto/deployment/checklist/
|
||||
|
||||
Reference in new issue
Block a user