From 6cc3422d3c70500094538dcf5bd9c578173f95d3 Mon Sep 17 00:00:00 2001 From: Jakob Ketterl Date: Sat, 8 May 2021 23:06:50 +0200 Subject: [PATCH] update docker documentation --- Getting-Started-using-Docker.md | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/Getting-Started-using-Docker.md b/Getting-Started-using-Docker.md index a7d2d60..e10aaaa 100644 --- a/Getting-Started-using-Docker.md +++ b/Getting-Started-using-Docker.md @@ -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