# Name of the application
name: big-bear-flame
# List of services that this application uses
services:
  # Main service for the Flame application
  app:
    # The Docker image to be used for the Flame application
    image: pawelmalak/flame:multiarch2.3.1
    # Environment variables that configure the application
    environment:
      # Specifies the password to be used by the Flame application
      PASSWORD: casaos
    # Policy to determine how the service should be restarted if it stops
    restart: unless-stopped
    # Specifies the ports that the application should expose
    ports:
      # Maps the container's port (target) to the host's port (published)
      - target: 5005
        published: "5005"
        protocol: tcp
    # Specifies the storage volumes that the application should use
    volumes:
      # Mounts the application data directory from the host system to the container
      - /DATA/AppData/$AppID/data:/app/data
      # Mounts the Docker socket from the host system to the container
      - type: bind
        source: /var/run/docker.sock
        target: /var/run/docker.sock
    x-casaos:
      envs:
        - container: PASSWORD
          description:
            en_us: 'Container Variable: PASSWORD'
      volumes:
        - container: /app/data
          description:
            en_us: 'Container Path: /app/data'
        - container: /var/run/docker.sock
          description:
            en_us: 'Container Path: /var/run/docker.sock'
      ports:
        - container: "5005"
          description:
            en_us: 'Container Port: 5005'
x-casaos:
  # Supported CPU architectures for this application
  architectures:
    - amd64
    - arm64
  # Main service for this application
  main: app
  # Detailed description for the application
  description:
    en_us: Flame is a self-hosted startpage for your server. Its design is heavily inspired by SUI. Flame is user-friendly and easy to set up. With its built-in editors, users can quickly establish their own application hub without any file editing.
  # Brief tagline for the application
  tagline:
    en_us: Flame is a self-hosted startpage for your server. Manage your apps and bookmarks effortlessly with built-in editors.
  # Developer's information
  developer: pawelmalak
  # Author of this particular configuration
  author: BigBearCommunity
  # Icon URL for the application
  icon: https://cdn.jsdelivr.net/gh/selfhst/icons/png/flame.png
  # Thumbnail image for the application (if any)
  thumbnail: https://github.com/pawelmalak/flame/raw/master/.github/home.png
  # Title for the application
  title:
    en_us: Flame
  # Category under which the application falls
  category: BigBearCasaOS
  # Default port mapping for the application
  port_map: "5005"
