version: urirun.services.v1
services:
  - id: invoice-panel
    label: Invoice review panel
    description: Host-controlled PHP panel for reviewing and deleting invoice files on the Lenovo node.
    aliases:
      - panel
      - panel faktur
      - invoice
      - faktury
      - review
    node_url: "${LENOVO_NODE_URL}"
    public_url: "${INVOICE_PANEL_URL}"
    actions:
      status:
        uri: panel://host/php/query/status
        payload:
          root: "${INVOICE_PANEL_ROOT}"
          port: "${INVOICE_PANEL_PORT}"
      start:
        uri: panel://host/php/command/start
        payload:
          root: "${INVOICE_PANEL_ROOT}"
          host: "${INVOICE_PANEL_BIND_HOST}"
          port: "${INVOICE_PANEL_PORT}"
          router: index.php
      stop:
        uri: panel://host/php/command/stop
        payload:
          root: "${INVOICE_PANEL_ROOT}"
          port: "${INVOICE_PANEL_PORT}"
