Changed paths for volumes

This commit is contained in:
Jeff Laflamme 2024-06-27 11:47:20 +07:00
parent 46c38748cf
commit eedb7c448d
2 changed files with 2 additions and 2 deletions

View File

@ -97,7 +97,7 @@ The docker entrypoint.sh will automatically copy config.ini.sample to config.ini
if you want to edit config, make sure you add the config directory as a docker volume.
```sh
docker run -it --name tc2bbsmesh -v tc2bbsmesh-config:/config/ -v tc2bbsmesh-data:/data/ --device=/dev/ttyACM0 tc2-bbs-mesh
docker run -it --name tc2bbsmesh -v tc2bbsmesh-config:/app/config/ -v tc2bbsmesh-data:/app/data/ --device=/dev/ttyACM0 tc2-bbs-mesh
```
Tested on Orange Pi 3 LTS (Armbian), but should work on all linux distros.

View File

@ -1,7 +1,7 @@
#!/bin/bash
set -e
CONFIG_DIR=/app/config
CONFIG_DIR=config
CONFIG_FILE=$CONFIG_DIR/config.ini
SAMPLE_FILE=config.ini.sample