update docker documentation
parent
8e229c490a
commit
6cc3422d3c
|
|
@ -13,17 +13,13 @@ The docker images are built for both x86_64, armv7l and aarch64 architectures, s
|
|||
In order to download and run the full image, simply use these commands:
|
||||
|
||||
```
|
||||
docker volume create openwebrx-config
|
||||
docker run --device /dev/bus/usb -p 8073:8073 -v openwebrx-config:/etc/openwebrx jketterl/openwebrx:stable
|
||||
docker volume create openwebrx-settings
|
||||
docker run --device /dev/bus/usb -p 8073:8073 -v openwebrx-settings:/var/lib/openwebrx jketterl/openwebrx:stable
|
||||
```
|
||||
|
||||
When using docker, the config will be stored inside a docker volume, so in order to edit the config you will need to find out the filesystem path that is used by docker (The usual location is `/var/lib/docker/volumes/openwebrx-config/_data/`):
|
||||
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.
|
||||
|
||||
```
|
||||
docker volume inspect openwebrx-config|grep Mountpoint
|
||||
```
|
||||
|
||||
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 also edit your configuration to make `temporary_directory` point to `/tmp/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`.
|
||||
|
||||
# Known issues
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue