Missing well-known files
[wolnelektury.git] / docker-compose.yml
index 81df203..025589f 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/counters/:/app/var/counters
    - ${LIBRARIAN:-/nonexistent}:/${LIBRARIAN:+edita}ble/librarian
    - ipython:/app/.ipython
+   - ./var/.bash_history:/app/.bash_history
   depends_on:
    - db
    - redis
   depends_on:
    - db
    - redis
@@ -29,7 +30,7 @@ services:
     command: python -Wall ./manage.py runserver 0.0.0.0:8000
     ports:
       # Dev: use http://localhost:8000/ directly
     command: python -Wall ./manage.py runserver 0.0.0.0:8000
     ports:
       # Dev: use http://localhost:8000/ directly
-      - "127.0.0.1:8000:8000"
+      - "8000:8000"
 
   celery:
     <<: *app-base
 
   celery:
     <<: *app-base
@@ -64,7 +65,7 @@ services:
       - "127.0.0.1:8101:80"
     volumes:
       - ./var/media:/app/var/media:ro
       - "127.0.0.1:8101:80"
     volumes:
       - ./var/media:/app/var/media:ro
-      - ./scripts/nginx.conf:/etc/nginx/conf.d/default.conf:ro
+      - ./scripts/nginx/nginx.conf:/etc/nginx/conf.d/default.conf:ro
     depends_on:
       - web
 
     depends_on:
       - web