Updated Getting Started using Docker (markdown)
parent
6317f60b5a
commit
719a37f911
|
|
@ -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
|
||||
```
|
||||
|
||||
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.
|
||||
|
||||
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`.
|
||||
|
|
|
|||
Loading…
Reference in New Issue