Files
Server/portainer/compose.yml
2025-07-01 18:39:34 +02:00

21 lines
436 B
YAML

# /services/portainer/compose.yml
services:
portainer:
image: portainer/portainer-ce:lts
container_name: portainer
restart: always
healthcheck:
test: curl -f http://localhost:9000/api/status || exit 1
interval: 30s
timeout: 10s
retries: 3
networks:
- traefik
volumes:
- ./data:/data
- /var/run/docker.sock:/var/run/docker.sock
networks:
traefik:
external: true