name: big-bear-brave # Name of the CasaOS application
services:
  brave:
    container_name: big-bear-brave # Name of the Docker container
    image: kasmweb/brave:1.15.0-rolling # Docker image for the Brave browser
    ports:
      - "6901:6901" # Expose port 6901 for VNC access
    environment:
      - VNC_PW=casaos # Set the VNC password to 'casaos'
      - LAUNCH_URL=https://community.bigbeartechworld.com/ # Set the default URL to Big Bear Tech World
    shm_size: 512m # Allocate 512 MB of shared memory
    volumes:
      - /DATA/AppData/$AppID/Downloads:/home/kasm-user/Downloads # Mount the host directory to the container's Downloads directory
    x-casaos:
      envs:
        - container: VNC_PW
          description:
            en_us: 'Container Variable: VNC_PW'
        - container: LAUNCH_URL
          description:
            en_us: 'Container Variable: LAUNCH_URL'
      volumes:
        - container: /home/kasm-user/Downloads
          description:
            en_us: 'Container Path: /home/kasm-user/Downloads'
      ports:
        - container: "6901"
          description:
            en_us: 'Container Port: 6901'
x-casaos:
  # Supported CPU architectures for this application
  architectures:
    - amd64
    - arm64
  # Main service for this application
  main: brave
  # Detailed description for the application
  description:
    en_us: This Image contains a browser-accessible version of Brave.
  # Brief tagline for the application
  tagline:
    en_us: Brave
  # Developer's information
  developer: kasmweb
  # Author of this particular configuration
  author: BigBearTechWorld
  # Icon URL for the application
  icon: https://cdn.jsdelivr.net/gh/selfhst/icons/png/brave.png
  # Thumbnail image for the application (if any)
  thumbnail: ""
  # Installation tips
  tips:
    before_install:
      en_us: |
        Username: kasm_user
        Password: casaos
  # Title for the application
  title:
    en_us: Brave
  # Category under which the application falls
  category: BigBearCasaOS
  # Default port mapping for the application
  port_map: "6901"
