mirror of
https://github.com/kjanat/livegraphs-django.git
synced 2026-02-13 19:15:43 +01:00
feat: Add uv Docker, Postgres, and company linking
Introduces uv-based Docker workflow with non-root runtime, cached installs, and uv-run for web and Celery. Updates docker-compose to Postgres + Redis, loads .env, and removes source bind mount for reproducible builds. Switches settings to use Postgres when env is present with SQLite fallback; broadens allowed hosts for containerized development. Adds psycopg2-binary and updates sample env for Redis in Docker. Adds company scoping to external data models and links sessions during ingestion; provides management commands to seed a Jumbo company/users and sync external chat data into the dashboard. Includes .dockerignore, TypeScript config and typings, and minor template/docs tweaks. Requires database migration.
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
# Redis and Celery Configuration
|
||||
|
||||
This document explains how to set up and use Redis and Celery for background task processing in the LiveGraphs application.
|
||||
This document explains how to set up and use Redis and Celery for background task processing in the LiveGraphs
|
||||
application.
|
||||
|
||||
## Overview
|
||||
|
||||
@@ -72,7 +73,8 @@ Download and install from [microsoftarchive/redis](https://github.com/microsofta
|
||||
|
||||
### SQLite Fallback
|
||||
|
||||
If Redis is not available, the application will automatically fall back to using SQLite for Celery tasks. This works well for development but is not recommended for production.
|
||||
If Redis is not available, the application will automatically fall back to using SQLite for Celery tasks. This works
|
||||
well for development but is not recommended for production.
|
||||
|
||||
## Configuration
|
||||
|
||||
|
||||
Reference in New Issue
Block a user