2022-12-11 06:58:22 +00:00
|
|
|
version: "3"
|
|
|
|
|
|
|
|
services:
|
|
|
|
updater:
|
|
|
|
image: {{updater_image}}{{^updater_image}}portainer/portainer-updater:latest{{/updater_image}}
|
2023-02-17 00:56:01 +00:00
|
|
|
labels:
|
|
|
|
- io.portainer.hideStack=true
|
|
|
|
- io.portainer.updater=true
|
2022-12-11 06:58:22 +00:00
|
|
|
command: ["portainer",
|
|
|
|
"--image", "{{image}}{{^image}}portainer/portainer-ee:latest{{/image}}",
|
2022-12-13 20:52:06 +00:00
|
|
|
"--env-type", "{{envType}}{{^envType}}standalone{{/envType}}",
|
2022-12-11 06:58:22 +00:00
|
|
|
"--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 }}
|