scith / docker_odoo_ynh

Dockerized Odoo for YunoHost

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This app is not maintainted anymore. Please use this new repository for a YunoHost native Odoo

Dockerized Odoo for YunoHost

Warning: This YunoHost app is still in development. Use it at your own risk! I am not responsible for any data loss that jeopardizes your organization

WARNING: Odoo is a complex app. DO NOT USE IT to run your business unless you know what you are doing!!! If you don't, use the hosted Odoo that will give you peace and customer support!

Also this app exposes Odoo at "http://your_server_IP:8069" to access features unavaible behind Nginx. As a result, you should NEVER allow anonymous access to your Odoo, even if it is behind the YunoHost login!

Important: This app MUST be installed on a domain's root!

https://odoo.example.com/ will work

https://example.com/odoo/ will NOT work

http://your_server_IP:8069 should be used for critical features such as installing modules or doing admin things

What does not work

Several features of Odoo DO NOT work if you access Odoo via domain.tld instead of http://severIP:8069 (e.g., backup/restore the database, install big modules...). This is because Odoo is not optimized to run behing Nginx.

Backup and restore

Login via YunoHost (you have to create user accounts in Odoo)

Autostart at server restart might not work

Odoo

Odoo is a suite of web based open source business apps.

The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, Purchase Management, ...

Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.

Install procedure

First, you should add the subdomain to you yunohost configuration. For instance, we use odoo.domain.org.

You could do these steps from the admin panel (create a domain, install the app) but you can also install from the command-line:

sudo yunohost domain add odoo.domain.org

Then you can run

sudo yunohost app install https://github.com/scith/docker_odoo_ynh --label="Odoo"

You will be asked for the domain

Choisissez un domaine pour Odoo (Odoo sera installé dans sa racine !) : odoo.domain.org

You will be asked if it's a public instance (Direct acces without yunohost authentification). Be carefull because your website will be exposed and you should modify the default passwords.

Then, it should work, you just need to got to odoo.domain.org to access to the database management page.

For critical things (e.g., backup/restore the database or install a module), you should access Odoo through http://your_server_IP:8069 instead of http://odoo.domain.org to avoid any error.

About

Dockerized Odoo for YunoHost


Languages

Language:Shell 88.9%Language:Nginx 11.1%