self-hosted/portainer/docker-compose.yml

13 lines
265 B
YAML
Raw Normal View History

2022-07-25 17:11:46 +02:00
version: "3"
services:
portainer:
image: portainer/portainer-ce:alpine
container_name: portainer
command: -H unix:///var/run/docker.sock
restart: unless-stopped
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./data:/data