services: portainer: image: portainer/portainer-ce:latest container_name: portainer restart: unless-stopped ports: - "${PORTAINER_PORT:-9443}:9443" volumes: - "/var/run/docker.sock:/var/run/docker.sock" - "${PORTAINER_DATA_PATH:-/mnt/storage/portainer/data}:/data"