77 lines
1.6 KiB
YAML
77 lines
1.6 KiB
YAML
name: "Fichero Printer"
|
|
version: "0.1.38"
|
|
name: "Fichero Printer"
|
|
description: "REST API for Fichero D11s thermal label printer with BLE and Classic Bluetooth support"
|
|
url: "https://github.com/your-repo/fichero-printer"
|
|
startup: "application"
|
|
boot: "auto"
|
|
host_network: true
|
|
host_dbus: true
|
|
host_pid: true
|
|
devices:
|
|
- /dev/rfcomm0
|
|
- /dev/ttyACM0
|
|
environment:
|
|
DBUS_SYSTEM_BUS_ADDRESS: "unix:path=/host/run/dbus/system_bus_socket"
|
|
FICHERO_PORT: "8765"
|
|
FICHERO_ADDR: ""
|
|
FICHERO_TRANSPORT: "ble"
|
|
FICHERO_CHANNEL: "1"
|
|
options:
|
|
port: 8765
|
|
address: ""
|
|
transport: "ble"
|
|
channel: 1
|
|
log_level: "info"
|
|
schema:
|
|
port: int(1024,65535)
|
|
address: str?
|
|
transport: list(ble|classic)
|
|
channel: int(1,30)
|
|
log_level: list(trace|debug|info|warning|error|fatal)
|
|
slug: "fichero_printer"
|
|
description: "REST API for the Fichero D11s (AiYin) thermal label printer over Bluetooth"
|
|
url: "https://git.leuschner.dev/Tobias/Fichero"
|
|
|
|
arch:
|
|
- aarch64
|
|
- amd64
|
|
|
|
|
|
init: false
|
|
startup: application
|
|
boot: auto
|
|
ingress: true
|
|
ingress_port: 8765
|
|
panel_icon: mdi:printer
|
|
panel_title: Fichero Printer
|
|
webui: "http://[HOST]:[PORT:8765]/"
|
|
full_access: true
|
|
|
|
host_network: true
|
|
host_dbus: true
|
|
|
|
# NET_ADMIN is required for Classic Bluetooth (RFCOMM) raw socket access.
|
|
# BLE uses D-Bus (host_dbus) and does not need this.
|
|
privileged:
|
|
- NET_ADMIN
|
|
- NET_RAW
|
|
|
|
options:
|
|
port: 8765
|
|
ble_address: ""
|
|
transport: "ble"
|
|
channel: 1
|
|
|
|
schema:
|
|
port: int
|
|
ble_address: str?
|
|
transport: list(ble|classic)
|
|
channel: int
|
|
|
|
ports:
|
|
8765/tcp: 8765
|
|
|
|
ports_description:
|
|
8765/tcp: "Fichero Printer REST API"
|