# Configuration for nexterm setup

# Name of the big-bear-nexterm application
name: big-bear-nexterm
# Service definitions for the big-bear-nexterm application
services:
  # Service name: big-bear-nexterm
  # The `big-bear-nexterm` service definition
  big-bear-nexterm:
    # Name of the container
    container_name: big-bear-nexterm
    # Image to be used for the container
    image: nexterm/aio:1.2.1-BETA
    # Container restart policy
    restart: unless-stopped
    # Environment variables for the big-bear-nexterm container
    environment:
      # REQUIRED: Replace with a strong random key before deploying
      # Generate with: openssl rand -hex 32
      - ENCRYPTION_KEY=
    # Volumes to be mounted to the container
    volumes:
      # Mounting the local nexterm_data directory to /app/data inside the container
      - /DATA/AppData/$AppID/data:/app/data
    # Ports mapping between host and container
    ports:
      # Mapping port 6989 of the host to port 6989 of the container
      - "6989:6989"
    x-casaos:
      envs:
        - container: ENCRYPTION_KEY
          description:
            en_us: 'Container Variable: ENCRYPTION_KEY'
      volumes:
        - container: /app/data
          description:
            en_us: 'Container Path: /app/data'
      ports:
        - container: "6989"
          description:
            en_us: 'Container Port: 6989'
x-casaos:
  # Supported CPU architectures for this application
  architectures:
    - amd64
    - arm64
  # Main service for this application
  main: big-bear-nexterm
  # Detailed description for the application
  description:
    en_us: The open source server management software for SSH, VNC & RDP. This is in BETA.
  # Brief tagline for the application
  tagline:
    en_us: Nexterm
  # Developer's information
  developer: gnmyt
  # Author of this particular configuration
  author: BigBearTechWorld
  # Icon URL for the application
  icon: https://cdn.jsdelivr.net/gh/bigbeartechworld/big-bear-universal-apps/apps/nexterm/logo.png
  # Thumbnail image for the application (if any)
  thumbnail: ""
  # Installation tips
  tips:
    before_install:
      en_us: |
        Read this before installing: https://community.bigbeartechworld.com/t/added-nexterm-to-bigbearcasaos/1835#p-3452-documentation-3
  # Title for the application
  title:
    en_us: Nexterm
  # Category under which the application falls
  category: BigBearCasaOS
  # Default port mapping for the application
  port_map: "6989"
