version: '3'
services:
portainer:
image: portainer/portainer-ce
name: portainer
ports:
- 9000:9000
restart: always
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./portainer_db:/data
validating /docker/portainer/docker-compose.yml: services.portainer Additional property name is not allowed