# Configuration for homer setup

# Name of the big-bear-homer application
name: big-bear-homer
# Service definitions for the big-bear-homer application
services:
  # Service name: app
  # The `app` service definition
  app:
    # Specifies the Docker image to be used for the service
    image: b4bz/homer:v26.4.2
    # Assigns a name to the container created from this service definition
    container_name: homer
    # Binds the container's volumes to host directories or named volumes
    # In this case, bind-mounts `homer_assets` from the host to `/www/assets` inside the container
    volumes:
      - /DATA/AppData/$AppID/assets:/www/assets
    # Maps the container's ports to the host's ports
    # In this case, it maps port 8080 inside the container to port 8080 on the host
    ports:
      - 8080:8080
    # Specifies the user and group ID under which the container will run
    # The default is user ID 1000 and group ID 1000
    user: 1000:1000 # default
    # Sets environment variables for the container
    # In this case, the `INIT_ASSETS` variable is set to 1 (which is the default value)
    environment:
      - INIT_ASSETS=1 # default
    x-casaos:
      envs:
        - container: INIT_ASSETS
          description:
            en_us: 'Container Variable: INIT_ASSETS'
      volumes:
        - container: /www/assets
          description:
            en_us: 'Container Path: /www/assets'
      ports:
        - container: "8080"
          description:
            en_us: 'Container Port: 8080'
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: A dead simple static HOMepage for your servER to keep your services on hand, from a simple yaml configuration file.
  # Brief tagline for the application
  tagline:
    en_us: Homer
  # Developer's information
  developer: bastienwirtz
  # Author of this particular configuration
  author: BigBearTechWorld
  # Icon URL for the application
  icon: https://cdn.jsdelivr.net/gh/selfhst/icons/png/homer.png
  # Thumbnail image for the application (if any)
  thumbnail: ""
  # Title for the application
  title:
    en_us: Homer
  # Category under which the application falls
  category: BigBearCasaOS
  # Default port mapping for the application
  port_map: "8080"
