@@ -91,16 +91,17 @@ The `hosts` section defines all machines, VMs, containers, or Docker services th
9191| ` mac ` | string | Required for PHYSICAL | MAC address for Wake-on-LAN. Only needed for physical hosts. |
9292| ` addr ` | string | Optional, PHYSICAL only | The network address used to send WoL packets, if different from ` ip ` . |
9393| ` id ` | string | Required for VIRTUAL | Identifier for virtual machines or LXCs. |
94- | ` virtIP ` | string | Optional | IP of the VM/LXC. Defaults to ` ip ` . |
94+ | ` virtIP ` | string | Optional | IP of the VM/LXC, used for pings . Defaults to ` ip ` . |
9595| ` startupTime ` | number | Optional | Seconds to wait after starting before pinging IP. |
9696| ` url ` | string | Optional | Override the default helper URL for this host. |
9797| ` docker: true ` | boolean | Optional | Can be set to ` true ` to mark a host as DOCKER type without additional settings. |
9898| ` docker ` | object | Required for DOCKER type | Docker-specific settings. See below. |
9999
100- ### Docker Sub-Object
100+ ### Docker Sub-Object ( ` docker ` )
101101
102102| Field | Type | Required | Description |
103103| -------------- | ------ | -------- | ------------------------------------------------------------------------------------------ |
104+ | ` query ` | string | Optional | Raw query used for WoL Dockerized. Skips building query with ` queryPattern ` . |
104105| ` queryPattern ` | string | Optional | Template used to build the query for WoL Dockerized. Falls back to ` ENV.woldQueryPattern ` . |
105106| ` url ` | string | Optional | Override URL for Docker wake API. Defaults to ` http://${host.ip}:${ENV.woldPort}/wake ` . |
106107
@@ -110,14 +111,6 @@ The `hosts` section defines all machines, VMs, containers, or Docker services th
110111- ** VIRTUAL** → has ` id `
111112- ** DOCKER** → has ` docker ` object or ` docker: true `
112113
113- ### Notes on Optional Overrides
114-
115- - ` addr ` allows sending WoL packets to a different network address than ` ip ` , useful for hosts behind different subnets or NAT.
116- - ` url ` can override default helper URLs for PHYSICAL, VIRTUAL, or DOCKER hosts.
117- - ` virtIP ` can override the IP used for pings.
118- - ` docker.queryPattern ` can override the global ` ENV.woldQueryPattern ` .
119- - The execution order of hosts in a route determines the startup sequence.
120-
121114## Advanced Setups
122115
123116WoL Redirect supports two main scenarios depending on how your services are hosted.
0 commit comments