SelfhostedPro / selfhosted_templates

Portainer templates for selfhosted services
GNU General Public License v3.0
1.23k stars 238 forks source link

Update template for Portainer CE 2.0 #175

Closed educatedCaveman closed 3 years ago

educatedCaveman commented 3 years ago

Using Portainer CE 2.0, one is unable to use this template. When it is added as a custom template, Portainer says its unable to retrieve the template. According to this blog post, there is a new format to be used, and they've provided a utility to convert it. I've tried this on my own, and the one app I spot checked seemed fine. Perhaps there should be a different version of the raw template made available?

RikGeboers commented 3 years ago

{ "version": "2", "templates":

copy template inside

}

its just a new format found out the issue as well recently

C-Fu commented 3 years ago

Somebody converted it already.

https://raw.githubusercontent.com/xe-nvdk/portainer_templates/master/Template/templates-2.0.json

Conversion guide: https://www.portainer.io/documentation/how-to-convert-your-templates-for-1-x-to-2-0/

Source: https://www.reddit.com/r/portainer/comments/ikoqwe/upgrade_templates_json_to_portainer_2_ce/

SelfhostedPro commented 3 years ago

Looks like someone did a pull with the new format. It's in the portainer 2.0 branch now.