Improve portainer settings. Allow enterprise edition to be set (#781)
This commit is contained in:
parent
de49a192a9
commit
38c05a3b8a
|
|
@ -1,7 +1,7 @@
|
||||||
captainVersion: 4
|
captainVersion: 4
|
||||||
services:
|
services:
|
||||||
$$cap_appname:
|
$$cap_appname:
|
||||||
image: portainer/portainer-ce:$$cap_portainer_version
|
image: portainer/portainer-$$cap_portainer_edition:$$cap_portainer_version
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
- $$cap_appname-data:/data
|
- $$cap_appname-data:/data
|
||||||
|
|
@ -15,6 +15,11 @@ caproverOneClickApp:
|
||||||
defaultValue: 2.0.0
|
defaultValue: 2.0.0
|
||||||
description: Check out their Docker page for the valid tags https://hub.docker.com/r/portainer/portainer-ce/tags
|
description: Check out their Docker page for the valid tags https://hub.docker.com/r/portainer/portainer-ce/tags
|
||||||
validRegex: /^([^\s^\/])+$/
|
validRegex: /^([^\s^\/])+$/
|
||||||
|
- id: $$cap_portainer_edition
|
||||||
|
label: Portainer Edition
|
||||||
|
defaultValue: 'ce'
|
||||||
|
description: 'Community edition (ce) or Enterprise edition (ee)'
|
||||||
|
validRegex: /^(?:ce|ee)$/
|
||||||
instructions:
|
instructions:
|
||||||
start: >-
|
start: >-
|
||||||
Portainer is a lightweight management UI which allows you to easily manage your Docker host or Swarm cluster.
|
Portainer is a lightweight management UI which allows you to easily manage your Docker host or Swarm cluster.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue