Portainer

Making Docker and Kubernetes management easy.

# file: `docker-compose.yml`

services:
  portainer:
    image: ${HONEYPI_IMAGE_REGISTRY_HOST:-docker.io}/portainer/portainer-ce:${HONEYPI_PORTAINER_VERSION:-latest}
    container_name: portainer
    restart: unless-stopped
    ports:
      - ${HONEYPI_PORTAINER_PORT:-8000}:8000
    volumes:
      - ${HONEYPI_DATA}/portainer/data:/data
      - /var/run/docker.sock:/var/run/docker.sock
    labels:
      - traefik.enable=${HONEYPI_PORTAINER_TRAEFIK_ENABLE:-false}
      - traefik.http.routers.portainer.rule=Host(`${HONEYPI_PORTAINER_HOST}`)
      - traefik.http.routers.portainer.entrypoints=websecure
      - traefik.http.routers.portainer.tls.certresolver=resolver
      - traefik.http.routers.portainer.service=portainer
      - traefik.http.services.portainer.loadbalancer.server.port=8000