14 lines
351 B
YAML
14 lines
351 B
YAML
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
|