Update README.md
Removed spaces for RWSOLS_COMPUTER_NAME
This commit is contained in:
1 parent
c066f7a5d4
commit
cb2315bb40
1 file changed
+6
-6
@@ -58,7 +58,7 @@ Parameter / Env var | Optional | Default value | Description
|
|||||||
`network_mode: host` | no | / | The container’s network stack is not isolated from the Docker host. This is necessary to send WOL packages from a container. The port of the webserver is configured via `APACHE2_PORT`.
|
`network_mode: host` | no | / | The container’s network stack is not isolated from the Docker host. This is necessary to send WOL packages from a container. The port of the webserver is configured via `APACHE2_PORT`.
|
||||||
`APACHE2_PORT` | yes | 8080 | Port of the webinterface.
|
`APACHE2_PORT` | yes | 8080 | Port of the webinterface.
|
||||||
`PASSPHRASE` | yes | admin | Password of the webinterface. If no password is specified, you don't need a password to wake a PC.
|
`PASSPHRASE` | yes | admin | Password of the webinterface. If no password is specified, you don't need a password to wake a PC.
|
||||||
`RWSOLS_COMPUTER_NAME` | no | / | Displaynames for the computers (**array**)
|
`RWSOLS_COMPUTER_NAME` | no | / | Displaynames for the computers (**array**)<br>(**No spaces supported.** Please use hyphens or underscores)
|
||||||
`RWSOLS_COMPUTER_MAC` | no | / | MAC addresses for the computers (**array**)
|
`RWSOLS_COMPUTER_MAC` | no | / | MAC addresses for the computers (**array**)
|
||||||
`RWSOLS_COMPUTER_IP` | no | / | IP addresses for the computers (**array**)
|
`RWSOLS_COMPUTER_IP` | no | / | IP addresses for the computers (**array**)
|
||||||
`RWSOLS_SLEEP_PORT` | yes | 7760 | This is the Port being used by the Windows SleepOnLan Utility to initiate a Sleep State (**not necessary for WOL**)
|
`RWSOLS_SLEEP_PORT` | yes | 7760 | This is the Port being used by the Windows SleepOnLan Utility to initiate a Sleep State (**not necessary for WOL**)
|
||||||
@@ -74,11 +74,11 @@ To configure the computers, we will use these three environment variables:
|
|||||||
|
|
||||||
Let's say we want to wake 2 computers with the following configurations:
|
Let's say we want to wake 2 computers with the following configurations:
|
||||||
1. PC1
|
1. PC1
|
||||||
- Displayname: PC of Mark
|
- Displayname: PC-of-Mark
|
||||||
- MAC address: 24:00:dd:5a:21:04
|
- MAC address: 24:00:dd:5a:21:04
|
||||||
- IP address: 192.168.1.146
|
- IP address: 192.168.1.146
|
||||||
2. PC2
|
2. PC2
|
||||||
- Displayname: PC of John
|
- Displayname: PC-of-John
|
||||||
- MAC address: 59:3c:45:3c:30:f6
|
- MAC address: 59:3c:45:3c:30:f6
|
||||||
- IP address: 192.168.1.177
|
- IP address: 192.168.1.177
|
||||||
|
|
||||||
@@ -88,8 +88,8 @@ To configure the env vars it's easier to arrange them in a **vertical** table:
|
|||||||
><table>
|
><table>
|
||||||
> <tr>
|
> <tr>
|
||||||
> <th><code>RWSOLS_COMPUTER_NAME</code></th>
|
> <th><code>RWSOLS_COMPUTER_NAME</code></th>
|
||||||
> <td>PC of Mark</td>
|
> <td>PC-of-Mark</td>
|
||||||
> <td>PC of John</td>
|
> <td>PC-of-John</td>
|
||||||
> </tr>
|
> </tr>
|
||||||
> <tr>
|
> <tr>
|
||||||
> <th><code>RWSOLS_COMPUTER_MAC</code></th>
|
> <th><code>RWSOLS_COMPUTER_MAC</code></th>
|
||||||
@@ -107,7 +107,7 @@ To configure the env vars it's easier to arrange them in a **vertical** table:
|
|||||||
|
|
||||||
Now you just format the table in an array:
|
Now you just format the table in an array:
|
||||||
>```
|
>```
|
||||||
> - RWSOLS_COMPUTER_NAME="PC of Mark","PC of John"
|
> - RWSOLS_COMPUTER_NAME="PC-of-Mark","PC-of-John"
|
||||||
> - RWSOLS_COMPUTER_MAC="24:00:dd:5a:21:04","59:3c:45:3c:30:f6"
|
> - RWSOLS_COMPUTER_MAC="24:00:dd:5a:21:04","59:3c:45:3c:30:f6"
|
||||||
> - RWSOLS_COMPUTER_IP="192.168.1.146","192.168.1.177"
|
> - RWSOLS_COMPUTER_IP="192.168.1.146","192.168.1.177"
|
||||||
>```
|
>```
|
||||||
|
|||||||
Reference in new issue
Block a user