Updated Getting Started using Docker (markdown)

Dr. Ogg 2023-07-21 07:50:52 -07:00
parent 6317f60b5a
commit 719a37f911
1 changed files with 18 additions and 0 deletions

@ -17,6 +17,24 @@ docker volume create openwebrx-settings
docker run --device /dev/bus/usb -p 8073:8073 -v openwebrx-settings:/var/lib/openwebrx jketterl/openwebrx:stable docker run --device /dev/bus/usb -p 8073:8073 -v openwebrx-settings:/var/lib/openwebrx jketterl/openwebrx:stable
``` ```
or you can use docker-compose
```yaml
version: "3"
services:
openwebrx:
image: jketterl/openwebrx:stable
volumes:
- ./openwebrx/settings:/var/lib/openwebrx
ports:
- 8073:8073
devices:
- /dev/bus/usb/002/002:/dev/bus/usb/002/002
tmpfs:
- /tmp/openwebrx
```
If your host is running any kind of flash-based storage (e.g. SSDs or the SD-card of a Raspberry Pi) it is highly recommended to offload the temporary files to memory-based storage. you can do this by adding `--tmpfs=/tmp/openwebrx` to the docker commandline. Please note that this is not just an example, the path matches the container setup. If you wish to use a different path, you will need to update the container configuration. If your host is running any kind of flash-based storage (e.g. SSDs or the SD-card of a Raspberry Pi) it is highly recommended to offload the temporary files to memory-based storage. you can do this by adding `--tmpfs=/tmp/openwebrx` to the docker commandline. Please note that this is not just an example, the path matches the container setup. If you wish to use a different path, you will need to update the container configuration.
This setup allows modification of all settings in the web configuration. If you wish to modify any settings in the configuration files in `/etc/openwebrx`, please set up an additional volume and mount for `/etc/openwebrx`. This setup allows modification of all settings in the web configuration. If you wish to modify any settings in the configuration files in `/etc/openwebrx`, please set up an additional volume and mount for `/etc/openwebrx`.