# Configuration for dockpeek setup

# Name of the big-bear-dockpeek application
name: big-bear-dockpeek
# Service definitions for the big-bear-dockpeek application
services:
  # Service name: big-bear-dockpeek
  # The `big-bear-dockpeek` service definition
  big-bear-dockpeek:
    # Name of the container
    container_name: big-bear-dockpeek
    # Image to be used for the container
    image: ghcr.io/dockpeek/dockpeek:v1.7.2
    # Environment variables
    environment:
      # Secret key for the application (change this)
      SECRET_KEY: "change_this_secret_key"
      # Username for authentication (change this)
      USERNAME: "bigbear"
      # Password for authentication (change this)
      PASSWORD: "casaos"
      # Docker host configuration
      DOCKER_HOST: "unix:///var/run/docker.sock"
    # Container restart policy
    restart: unless-stopped
    # Volumes to be mounted to the container
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
    # Ports mapping between host and container
    ports:
      - 3420:8000
    x-casaos:
      envs:
        - container: SECRET_KEY
          description:
            en_us: 'Container Variable: SECRET_KEY'
        - container: USERNAME
          description:
            en_us: 'Container Variable: USERNAME'
        - container: PASSWORD
          description:
            en_us: 'Container Variable: PASSWORD'
        - container: DOCKER_HOST
          description:
            en_us: 'Container Variable: DOCKER_HOST'
      volumes:
        - container: /var/run/docker.sock
          description:
            en_us: 'Container Path: /var/run/docker.sock'
      ports:
        - container: "8000"
          description:
            en_us: 'Container Port: 8000'
x-casaos:
  # Supported CPU architectures for this application
  architectures:
    - amd64
    - arm64
  # Main service for this application
  main: big-bear-dockpeek
  # Detailed description for the application
  description:
    en_us: A lightweight, self-hosted Docker dashboard that provides quick access to all running containers and their exposed ports with one-click access to web apps.
  # Brief tagline for the application
  tagline:
    en_us: Docker Dashboard
  # Developer's information
  developer: dockpeek
  # Author of this particular configuration
  author: BigBearTechWorld
  # Icon URL for the application
  icon: https://cdn.jsdelivr.net/gh/selfhst/icons/png/dockpeek.png
  # Thumbnail image for the application (if any)
  thumbnail: ""
  # Installation tips
  tips:
    before_install:
      en_us: |-
        **Support BigBearTechWorld**: https://ko-fi.com/bigbeartechworld
        **Community Forum**: https://community.bigbeartechworld.com
        **Read this before installing**: https://community.bigbeartechworld.com/t/added-dockpeek-to-bigbearcasaos/4136?u=dragonfire1119

        Before you install, make sure to change the default credentials (SECRET_KEY, USERNAME, PASSWORD) for security.
  # Title for the application
  title:
    en_us: Dockpeek
  # Category under which the application falls
  category: BigBearCasaOS
  # Default port mapping for the application
  port_map: "3420"
