awesome-compose/portainer/docker-compose.yaml
Leon Stoldt 5cfa856a07 Adding portainer example
Signed-off-by: Leon Stoldt <tech@leon-stoldt.de>
2021-08-07 14:37:23 +02:00

15 lines
327 B
YAML

version: '3.7'
services:
portainer:
image: portainer/portainer-ce:alpine
container_name: portainer
command: -H unix:///var/run/docker.sock
ports:
- "9000:9000"
volumes:
- "/var/run/docker.sock:/var/run/docker.sock"
- "portainer_data:/data"
restart: always
volumes:
portainer_data: