4 |
5 | [Heimdall](https://www.heimdalldata.com/odoo/) is a database proxy specially designed for [Odoo](https://www.odoo.com)
6 |
7 | ## Heimdall Architecture with Odoo, Redis and Postgres
8 |
9 | 
10 |
11 | 
12 |
13 | ### Heimdall Manager Dashboard
14 |
15 | - Cache hit rates
16 | - Replica Usage
17 | - Average Response Time
18 |
19 | 
20 |
21 | ### Heimdall manager status overview
22 |
23 | 
24 |
25 | ### docker desktop containers overview
26 |
27 | 
28 |
29 | ### Project Architecture
30 |
31 | .
32 | ├── .vscode # Visual Studio Debug configuration
33 | ├── addons # Odoo Project custom addons folder
34 | ├── addons_customer # Odoo Project customer addons
35 | ├── addons_external # Odoo Project third party addons
36 | ├── config # Odoo config
37 | ├── heimdall # Heimdall
38 | ├── .gitignore
39 | ├── Dockerfile # Odoo Dockerfile
40 | ├── docker-compose.yml # setup for local docker-compose run
41 | ├── requirements.txt # Odoo external python libraries
42 | └── README.md
43 |
44 | ## Development workflow
45 |
46 | - Local environment
47 | - Ideal local development workflow
48 |
49 | ## Local environment
50 |
51 | To setup your local environment you need the following tools:
52 |
53 | - Docker installed in your machine
54 | - IDE like Visual Studio code or PyCharm
55 |
56 | #### Docker & docker-compose
57 |
58 | Check the official docker page to install docker and docker-compose on your machine, it depends on your OS
59 |
60 | #### Quick Instructions
61 |
62 | ```bash
63 | Docker-compose up
64 | ```
65 |
66 | Access Heimdall Manager
67 | http://127.0.0.1:8087
68 |
69 | user: admin
70 | password: admin
71 |
72 | Go to Virtual DB and import Mountrix-vdb.json and commit
73 |
74 | Stort docker-compose Ctrl+c and restart it
75 |
76 | ```bash
77 | docker-compose up
78 | ```
79 |
80 | Access Odoo
81 | http://127.0.0.1/
82 |
83 | user: admin
84 | password: admin
85 |
86 | Install any App and use Odoo. You'll see Heimdall proxy cache hit rates and replica use.
87 |
--------------------------------------------------------------------------------
/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM odoo:17.0
2 | LABEL maintainer="Agustin Wisky.