- 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.
40 lines
790 B
YAML
40 lines
790 B
YAML
services:
|
||
db:
|
||
image: postgres:15
|
||
container_name: odoo_client6_db
|
||
environment:
|
||
POSTGRES_DB: postgres
|
||
POSTGRES_USER: odoo
|
||
POSTGRES_PASSWORD: odoo
|
||
volumes:
|
||
- client6_pgdata:/var/lib/postgresql/data
|
||
restart: always
|
||
|
||
odoo:
|
||
image: odoo:17.0
|
||
container_name: odoo_client6
|
||
depends_on:
|
||
- db
|
||
ports:
|
||
- "10006:8069"
|
||
environment:
|
||
HOST: db
|
||
USER: odoo
|
||
PASSWORD: odoo
|
||
LIST_DB: "True"
|
||
volumes:
|
||
- client6_odoo_data:/var/lib/odoo
|
||
- ./addons:/mnt/extra-addons
|
||
restart: always
|
||
|
||
volumes:
|
||
client6_pgdata:
|
||
client6_odoo_data:
|
||
|
||
|
||
# backups:
|
||
# .\backup_db.ps1
|
||
|
||
# Team Members – Restore
|
||
# cat d:\Odoo\backups\YOUR_BACKUP_FILE.sql | docker exec -i odoo_client6_db psql -U odoo -d postgres
|