33 lines
1.6 KiB
YAML
33 lines
1.6 KiB
YAML
captainVersion: 4
|
|
services:
|
|
$$cap_appname:
|
|
image: portainer/portainer-ce:$$cap_portainer_version
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
- $$cap_appname-data:/data
|
|
restart: always
|
|
caproverExtra:
|
|
containerHttpPort: '9000'
|
|
caproverOneClickApp:
|
|
variables:
|
|
- id: $$cap_portainer_version
|
|
label: Portainer Version
|
|
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^\/])+$/
|
|
instructions:
|
|
start: >-
|
|
Portainer is a lightweight management UI which allows you to easily manage your Docker host or Swarm cluster.
|
|
|
|
More information about this container can be found here:
|
|
https://hub.docker.com/r/portainer/portainer-ce/ .
|
|
|
|
After installation on CapRover, it will be available as srv-captain--YOUR_CONTAINER_NAME at port 9000 to other CapRover apps .
|
|
|
|
Enter your portainer Configuration parameters and click on next. It will take about a minute for the process to finish.
|
|
end: Portainer is deployed and available. The next step is to turn on Websocket Support and use the local connection option via websockets from the Portainer user interface.
|
|
displayName: ''
|
|
isOfficial: true
|
|
description: Portainer is a lightweight management UI which allows you to easily manage your different Docker environments
|
|
documentation: Taken from https://hub.docker.com/r/portainer/portainer-ce/
|