services:
  portainer:
    image: portainer/portainer-ce:latest
    #command:
    #  -H unix:///var/run/docker.sock
    #  --sslcert /certs/docker01.crt
    #  --sslkey /certs/docker01.key
    #command: --admin-password='$2y$05$PWN6rFJ1kFvMFFK6Ajg87.waThVouf66GSt.lTXv6eg9nLv1ztoza'
    restart: always
    privileged: true
    ports:
      - 9001:9000
      - 9443:9443
    volumes:
      - /run/podman/podman.sock:/var/run/docker.sock
      - "{{ portainer_data_path }}"/data:/data
      - "{{ portainer_data_path }}"/logs:/logs
      - "{{ portainer_data_path }}"/certs:/certs