Hello,
I drafted a first Odoo app for YunoHost as Odoo seems to be requested quite often… It would have been quite complex to make it running on the YunoHost server, I decided to Dockerize it (see my various Docker posts and apps)
What works: Odoo (I guess…) What doesn’t work (yet): autorestart at server restart/crash, backup and restore, probably other things Important: This app MUST be installed on the domain’s root (e.g., http://odoo.domain.tld/). As a result you cannot choose a custom path (e.g., http://domain.tld/odoo/ will NOT work). This is a consequence of Odoo’s behavior behind nginx.
I need to finetune the systemd startup file to be able to restart Odoo easily. I also need to get my head around Docker backup/restore processes to allow a seamless backup/restore with Moulinette
This means that this app is not yet suitable for production of course… Don’t go all in this app to run your business
Thanks, please let me know
I think the official Odoo container is good enough. I looked at the others but they don’t differ much. One had PostgreSQL and Odoo in the same container though but I am not sure about it security-wise. It could solve the problem of autorestart though (and maybe ease backup/restore).
I think the core is working quite well. Docker is installed automatically on YunoHost in each of these apps. The containers can be managed as services on the YunoHost admin panel. Also the DockerUI apps gives a dedicated web administration interface (to remove images for example).
I have also made an empty template to create apps like this Odoo one: https://github.com/scith/docker_template_ynh (feel free to fork and pull request)
I still need to work on the backup/restore features though.
Hi
It lives within a container so it is a bit more difficult…
You could either SSh into the container
Or go in /var/lib/docker/volumes and find the folder which has the data (you can use my dockerUI app to find it if you have many containers)