mirror of
https://github.com/portainer/portainer.git
synced 2025-08-08 07:15:23 +02:00
feat(system): path to upgrade swarm to BE [EE-4624] (#8124)
This commit is contained in:
parent
b59a0ba823
commit
db9d87c918
8 changed files with 54 additions and 21 deletions
17
mustache-templates/upgrade-docker.yml.mustache
Normal file
17
mustache-templates/upgrade-docker.yml.mustache
Normal file
|
@ -0,0 +1,17 @@
|
|||
version: "3"
|
||||
|
||||
services:
|
||||
updater:
|
||||
image: {{updater_image}}{{^updater_image}}portainer/portainer-updater:latest{{/updater_image}}
|
||||
command: ["portainer",
|
||||
"--image", "{{image}}{{^image}}portainer/portainer-ee:latest{{/image}}",
|
||||
"--env-type", "{{envType}}{{^envType}}standalone{{/envType}}",
|
||||
"--license", "{{license}}"
|
||||
]
|
||||
{{#skip_pull_image}}
|
||||
environment:
|
||||
- SKIP_PULL=1
|
||||
{{/skip_pull_image}}
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
{{! - \\.\pipe\docker_engine:\\.\pipe\docker_engine }}
|
Loading…
Add table
Add a link
Reference in a new issue