templates icon indicating copy to clipboard operation
templates copied to clipboard

Add OPC Router template for Raspberry Pi 4

Open joseamaita opened this issue 2 years ago • 2 comments

At the time, not all "opcrouter/runtime" images work with a Raspberry Pi 4. You should be able to write a different tag other than "latest" for those images (opcrouter/runtime:4.27.3188.111 works well). Also, you should be able to include a time zone to deploy your Docker container (i.e. "America/Caracas", "Europe/Berlin").

Here is my proposal: https://github.com/joseamaita/portainer-templates/tree/rpi4

joseamaita avatar Aug 09 '23 19:08 joseamaita

Hey @joseamaita, thanks for the proposal.

Looking at the tags for the opcrouter/runtime image, all of the tags are built for both Linux AMD64 and ARM64 so they should work well on RPi4: https://hub.docker.com/r/opcrouter/runtime/tags

Feel free to open a PR to add the the TZ parameter.

deviantony avatar Aug 18 '23 08:08 deviantony

Hello, @deviantony. You're welcome.

The thing is: The Portainer template for the Raspberry Pi 4 won't work with the "opcrouter/runtime" Docker container when using the "latest" tag (at the time of writing). This tag is fixed in the JSON template. As a user, I would want to set the specific tag to create the container (therefore, "4.27.3188.111") when using the Portainer UI.

Also, besides the TZ parameter, I would want the capacity to set the OR_DATABASE_ENABLE_TLS parameter to "true".

Thank you for all your work.

joseamaita avatar Aug 18 '23 12:08 joseamaita