# docker-compose.yml # Docker Hub: https://hub.docker.com/r/portainer/portainer-ce # The WebUI can be found at http://: # I would suggest unchecking the data checkbox during setup # Then navigating to the Users tab, selecting the admin user, and renaming # Then navigating to the Settins tab, check Force HTTPS only, then Apply Changes networks: : external: true services: portainer-ce: container_name: portainer-ce image: portainer/portainer-ce: networks: - ports: - "9443:9443" # WebUI Port restart: unless-stopped security_opt: - no-new-privileges:true volumes: - /etc/localtime:/etc/localtime:ro - /var/run/docker.sock:/var/run/docker.sock:ro - ./data:/data