compose/portainer/docker-compose.yml

15 lines
368 B
YAML

version: "2"
services:
portainer:
container_name: portainer
image: portainer/portainer-ce:latest
command: -H unix:///var/run/docker.sock
restart: always
environment:
- VIRTUAL_HOST=portainer.shoebottom.ca
ports:
- 82:9000
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /docker/appdata/portainer/data:/data