Alaguraj0361 b9d5617051 Add SaaS multi-tenant models and views for restaurant management
- Introduced `saas.plan` model to define subscription plans with limits and pricing.
- Created `saas.restaurant` model to manage restaurant tenants, including database provisioning and subscription management.
- Implemented views for managing SaaS plans and restaurant tenants, including tree and form views.
- Added security access rights for the new models.
- Developed a backup management view for database backups.
- Updated menu structure to include new SaaS management options.
- Added Docker and deployment configurations for PostgreSQL, Redis, and Odoo services.
- Included scaling guide and backup scripts for production environments.
- Enhanced theme with new images and layout adjustments.
2026-06-19 15:03:51 +05:30

23 lines
407 B
Plaintext

# Redis configuration for Odoo session management and caching
port 6379
bind 0.0.0.0
# Memory Limits
maxmemory 2gb
maxmemory-policy allkeys-lru
# Persistence (Required so users do not get logged out when Redis restarts)
save 900 1
save 300 10
save 60 10000
appendonly yes
appendfilename "appendonly.aof"
appendfsync everysec
# Performance Tuning
tcp-backlog 511
timeout 0
tcp-keepalive 300
databases 16