version: "3.8"
services:
portainer:
image: portainer/portainer-ce
ports:
- "8000:8000"
- "9000:9000"
volumes:
- ./data:/data
- /var/run/docker.sock:/var/run/docker.sock
restart: unless-stopped