---version:'3'services:portainer:image:portainer/portainer-ce:latestcontainer_name:portainernetworks:-proxy# rename this to your custom docker networkrestart:unless-stoppedsecurity_opt:-no-new-privileges:trueports:-8000:8000-9000:9000volumes:-portainer_data:/data-/etc/localtime:/etc/localtime:ro-/var/run/docker.sock:/var/run/docker.sock:rolabels:traefik.enable:truetraefik.http.services.portainer.loadbalancer.server.port:9000volumes:portainer_data:networks:proxy:external:true