-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
34 lines (29 loc) · 1.17 KB
/
.env.example
File metadata and controls
34 lines (29 loc) · 1.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
PRINTERPRINTER_HOST=0.0.0.0
PRINTERPRINTER_PORT=8080
PRINTERPRINTER_LOG_LEVEL=INFO
PRINTERPRINTER_DB_PATH=./data/printerprinter.sqlite3
BAMBUDDY_BASE_URL=http://bambuddy.local:8000
BAMBUDDY_API_TOKEN=replace_me
BAMBUDDY_TIMEOUT_SECONDS=15
BAMBUDDY_AUTH_MODE=api_key_header
BAMBUDDY_AUTH_HEADER_NAME=X-API-Key
BAMBUDDY_JOBS_ENDPOINT=/api/v1/print-log/
BAMBUDDY_PRINTERS_ENDPOINT=/api/v1/printers/
BAMBUDDY_PRINTER_STATUS_ENDPOINT_TEMPLATE=/api/v1/printers/{printer_id}/status
PRINTERPRINTER_POLL_INTERVAL_SECONDS=5
# Bambuddy numeric IDs (not IP/serial). Leave blank to include all.
PRINTERPRINTER_MONITORED_PRINTER_IDS=11,13,16
# Optional selectors: Bambuddy ID, printer name, serial number, or IP address.
PRINTERPRINTER_MONITORED_PRINTER_IDENTIFIERS=01P09C471900468,192.168.68.57
# ========================================
# Brother Label Printer Configuration
# ========================================
BROTHER_ENABLED=true
BROTHER_MODEL=QL-820NWB
# Brother printer IP and port (e.g., tcp://192.168.1.100:9100)
BROTHER_PRINTER_URI=tcp://replace_with_brother_ip:9100
# Label configuration
BROTHER_LABEL_SIZE=62x100
BROTHER_CUT=true
SHOW_PRICE_ON_LABEL=true
FILAMENT_PRICE_PER_GRAM=0.10