]> git.parisson.com Git - mezzo.git/commitdiff
Fix DEBUG parsing
authorGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Mon, 7 Nov 2016 15:35:43 +0000 (16:35 +0100)
committerGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Mon, 7 Nov 2016 15:35:43 +0000 (16:35 +0100)
app/local_settings.py
docker-compose.yml

index 6a2711aed832aa7db590bca26bc5a2b46d0f49c7..1f06133d19ee5abbdc56e080e24c6f8cf84a459c 100644 (file)
@@ -2,7 +2,7 @@ import os
 from django.utils.translation import ugettext_lazy as _
 from datetime import datetime, date
 
-DEBUG = True if os.environ.get('DEBUG', 'True') else False
+DEBUG = True if os.environ.get('DEBUG') == 'True' else False
 
 # Make these unique, and don't share it with anybody.
 SECRET_KEY = "j1qa@u$5ktqr^0_kwh@-j@*-80t$)ht!4-=ybz1xc%@3+r(r&tzefoih"
index bd213ca0ca4aecec5eb515aa975831793dd4123a..841cded20d54db095731b2636f847f204776a6a2 100644 (file)
@@ -35,6 +35,7 @@ db:
   volumes:
     - ./scripts/:/srv/scripts
     - ./data/postgresql/data/:/var/lib/postgresql/data
+    - ./data/var/log/postgresql/:/var/log/postgresql
   environment:
     - POSTGRES_PASSWORD=hyRob0otlaz4
 
@@ -61,7 +62,7 @@ app:
 nginx:
   image: nginx
   ports:
-    - "8040:80"
+    - "8020:80"
   volumes:
     - ./etc/nginx.conf:/etc/nginx/conf.d/default.conf
     - ./data/var/log/nginx/:/var/log/nginx