Contributors mailing list archives

contributors@odoo-community.org

Browse archives

Avatar

[odoo16 ce] deploy doodba instance on portainer

by
Francesco Ballerini
- 17/11/2024 21:59:35
Hi, 

few days ago I managed to set up a basic doodba instance. We're running this as "prod env" but we're actually just testing it at the moment. The instance is running well, but I've been asked to run this configuration from Portainer if possible.

I'm trying to make some adaptations in order to make it work on portainer, I merged the `common.yaml` and `prod.yaml` in a single compose, added the result in the stack web editor, with some additional adjustments. However I am not sure how to solve this. 

```
build:
      context: ./odoo
      args:
        DB_VERSION: "15"
        ODOO_VERSION: "16.0"
        UID: "${UID:-1000}"
        GID: "${GID:-1000}"
```

when I try to deploy it says that "build" is an unsupported option. Is there any way to adapt this? 
I would also like to ask if someone has to link an example on github or any other platform, I havent find any yet.

Thank you
--Francesco


Follow-Ups