mirror of
https://github.com/kjanat/livegraphs-django.git
synced 2026-01-16 07:22:08 +01:00
- Implemented AJAX-based navigation for links and forms to improve user experience. - Added loading indicators during AJAX requests to enhance feedback. - Refactored data tables and search results to load content dynamically via AJAX. - Created partial templates for data tables and search results to streamline rendering. - Updated pagination links to work with AJAX, maintaining browser history. - Added JavaScript files for handling AJAX navigation and pagination. - Improved session detail view with conditional rendering for action buttons. - Updated Docker Compose file for consistency in version formatting. - Created a TODO list for future enhancements and features.
46 lines
898 B
YAML
46 lines
898 B
YAML
# docker-compose.yml
|
|
|
|
version: "3.8"
|
|
|
|
services:
|
|
web:
|
|
build: .
|
|
command: gunicorn dashboard_project.wsgi:application --bind 0.0.0.0:8000
|
|
volumes:
|
|
- .:/app
|
|
- static_volume:/app/staticfiles
|
|
- media_volume:/app/media
|
|
ports:
|
|
- "8000:8000"
|
|
environment:
|
|
- DEBUG=0
|
|
- SECRET_KEY=your_secret_key_here
|
|
- ALLOWED_HOSTS=localhost,127.0.0.1
|
|
depends_on:
|
|
- db
|
|
|
|
db:
|
|
image: postgres:13
|
|
volumes:
|
|
- postgres_data:/var/lib/postgresql/data/
|
|
environment:
|
|
- POSTGRES_USER=postgres
|
|
- POSTGRES_PASSWORD=postgres
|
|
- POSTGRES_DB=dashboard_db
|
|
|
|
nginx:
|
|
image: nginx:latest
|
|
ports:
|
|
- "80:80"
|
|
volumes:
|
|
- ./nginx/conf.d:/etc/nginx/conf.d
|
|
- static_volume:/app/staticfiles
|
|
- media_volume:/app/media
|
|
depends_on:
|
|
- web
|
|
|
|
volumes:
|
|
postgres_data:
|
|
static_volume:
|
|
media_volume:
|