wolbodge/README.md
2025-03-22 14:09:00 +01:00

10 lines
630 B
Markdown

# WoLBodge
## Configuration
Configuration is done using environment variables.
- `WOLBODGE_ADDRESS`: The address that WoLBodge should listen on, defaults to `:3000`.
- `WOLBODGE_STORAGE_TYPE`: Storage type to pick, defaults to `ram`.
- `ram`: Sessions are stored in RAM.
- `WOLBODGE_DEVICE_TYPE`: Device type to pick, defaults to `test`-
- `test`: A dummy device, used for testing.
- `libgpiod`: Uses the libgpiod commands under the hood. The gpio chip is specified using `WOLBODGE_DEVICE_GPIOCHIP`, the power button pin using `WOLBODGE_DEVICE_POWER_BUTTON_PIN` and the power LED pin using `WOLBODGE_DEVICE_POWER_LED_PIN`.