portainer / templates

App Templates used by Portainer
http://portainer.io
359 stars 461 forks source link

Add OPC Router template for Raspberry Pi 4 #184

Open joseamaita opened 1 year ago

joseamaita commented 1 year ago

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

deviantony commented 1 year ago

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.

joseamaita commented 1 year ago

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.