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: - 9443:9000 volumes: - /var/run/docker.sock:/var/run/docker.sock - /docker/appdata/portainer/data:/data