fixes
[wolnelektury.git] / docker-compose.yml
index 55a09d8..afa1786 100644 (file)
@@ -17,6 +17,7 @@ x-app-base: &app-base
    - ./var/counters/:/app/var/counters
    - ${LIBRARIAN:-/nonexistent}:/${LIBRARIAN:+edita}ble/librarian
    - ipython:/app/.ipython
+   - ./var/.bash_history:/app/.bash_history
   depends_on:
    - db
    - redis
@@ -26,7 +27,7 @@ x-app-base: &app-base
 services:
   web:
     <<: *app-base
-    command: ./manage.py runserver 0.0.0.0:8000
+    command: python -Wall ./manage.py runserver 0.0.0.0:8000
     ports:
       # Dev: use http://localhost:8000/ directly
       - "127.0.0.1:8000:8000"