Improve portainer settings. Allow enterprise edition to be set (#781)

This commit is contained in:
Luis Lopes 2022-11-03 03:34:29 +00:00 committed by GitHub
parent de49a192a9
commit 38c05a3b8a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 1 deletions

View File

@ -1,7 +1,7 @@
captainVersion: 4
services:
$$cap_appname:
image: portainer/portainer-ce:$$cap_portainer_version
image: portainer/portainer-$$cap_portainer_edition:$$cap_portainer_version
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- $$cap_appname-data:/data
@ -15,6 +15,11 @@ caproverOneClickApp:
defaultValue: 2.0.0
description: Check out their Docker page for the valid tags https://hub.docker.com/r/portainer/portainer-ce/tags
validRegex: /^([^\s^\/])+$/
- id: $$cap_portainer_edition
label: Portainer Edition
defaultValue: 'ce'
description: 'Community edition (ce) or Enterprise edition (ee)'
validRegex: /^(?:ce|ee)$/
instructions:
start: >-
Portainer is a lightweight management UI which allows you to easily manage your Docker host or Swarm cluster.