Correct README instructions for running bonob outside of lan

This commit is contained in:
simojenki
2021-05-14 17:01:28 +10:00
parent a601579080
commit 5c6c34ae24

View File

@@ -52,14 +52,14 @@ Bonob will now auto-register itself with sonos on startup, updating the registra
### Running bonob on a different network to your sonos devices ### Running bonob on a different network to your sonos devices
Running bonob outside of your lan will require require registering your bonob install with your sonos devices from within your lan. Running bonob outside of your lan will require require registering your bonob install with your sonos devices from within your lan. If you are running this on the internet, you should use certificates/https.
Start bonob outside the lan with sonos discovery & registration disabled as they are meaningless in this case, ie. Start bonob outside the lan with sonos discovery & registration disabled as they are meaningless in this case, ie.
```bash ```bash
docker run \ docker run \
-e BONOB_PORT=4534 \ -e BONOB_PORT=4534 \
-e BONOB_WEB_ADDRESS=http://my-bonob-service.com:4534 \ -e BONOB_WEB_ADDRESS=https://my-bonob-service.com:4534 \
-e BONOB_SONOS_AUTO_REGISTER=false \ -e BONOB_SONOS_AUTO_REGISTER=false \
-e BONOB_SONOS_DEVICE_DISCOVERY=false \ -e BONOB_SONOS_DEVICE_DISCOVERY=false \
-p 4534:4534 \ -p 4534:4534 \
@@ -70,7 +70,7 @@ Now inside the lan that contains the sonos devices run bonob registration, using
```bash ```bash
docker run \ docker run \
-e BONOB_WEB_ADDRESS=http://my-bonob-service:4534 \ -e BONOB_WEB_ADDRESS=https://my-bonob-service.com:4534 \
-e BONOB_SONOS_DEVICE_DISCOVERY=true \ -e BONOB_SONOS_DEVICE_DISCOVERY=true \
--network host \ --network host \
simojenki/bonob register simojenki/bonob register