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"
volumes:
- ./scripts/:/srv/scripts
- ./data/postgresql/data/:/var/lib/postgresql/data
+ - ./data/var/log/postgresql/:/var/log/postgresql
environment:
- POSTGRES_PASSWORD=hyRob0otlaz4
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