Create portainer.yaml
New app portainer similar to Coolify, all tested, healthchecks works...
This commit is contained in:
parent
dba43a6c77
commit
3b0d95d391
1 changed files with 13 additions and 0 deletions
13
templates/compose/portainer.yaml
Normal file
13
templates/compose/portainer.yaml
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
services:
|
||||
portainer:
|
||||
image: 'portainer/portainer-ce:alpine'
|
||||
environment:
|
||||
- SERVICE_FQDN_PORTAINER_9000
|
||||
volumes:
|
||||
- '/var/run/docker.sock:/var/run/docker.sock'
|
||||
- 'portainer_data:/data'
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "wget -qO- http://127.0.0.1:9000/"]
|
||||
interval: 20s
|
||||
timeout: 20s
|
||||
retries: 10
|
||||
Loading…
Reference in a new issue