Komodo Resource Sync expects compose.yaml (not .yml) All 22 stack compose files renamed for consistency
25 lines
542 B
YAML
25 lines
542 B
YAML
services:
|
|
portainer:
|
|
image: portainer/portainer-ce:latest
|
|
container_name: portainer
|
|
restart: unless-stopped
|
|
ports:
|
|
- "127.0.0.1:9000:9000"
|
|
volumes:
|
|
- portainer_data:/data
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
networks:
|
|
- portainer-network
|
|
healthcheck:
|
|
test: ["CMD", "curl", "-f", "http://localhost:9000/api/version"]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 3
|
|
start_period: 30s
|
|
|
|
volumes:
|
|
portainer_data:
|
|
|
|
networks:
|
|
portainer-network:
|
|
driver: bridge
|