19 lines
501 B
YAML
19 lines
501 B
YAML
services:
|
|
portainer:
|
|
container_name: portainer
|
|
image: docker.io/portainer/portainer-ee:alpine
|
|
restart: unless-stopped
|
|
volumes:
|
|
- ./data:/data
|
|
- /etc/localtime:/etc/localtime:ro
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
ports:
|
|
- 8000:8000
|
|
- 9443:9443
|
|
healthcheck:
|
|
test: "wget --no-verbose --tries=1 --spider http://localhost:9000/api/system/status || exit 1"
|
|
interval: 10s
|
|
timeout: 5s
|
|
retries: 3
|
|
start_period: 10s
|