christianlempa-boilerplates/docker-compose/portainer/docker-compose.yaml

17 lines
332 B
YAML

---
volumes:
portainer-data:
driver: local
services:
app:
container_name: portainer
image: docker.io/portainer/portainer-ce:latest
ports:
- 9000:9000
- 9443:9443
- 8000:8000
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- portainer-data:/data
restart: unless-stopped