From eedb7c448d225eabcc2227ec8dda6fe2e08b330c Mon Sep 17 00:00:00 2001 From: Jeff Laflamme Date: Thu, 27 Jun 2024 11:47:20 +0700 Subject: [PATCH] Changed paths for volumes --- README.md | 2 +- entrypoint.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index fe92eb1..9ef5830 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/entrypoint.sh b/entrypoint.sh index 1de2624..ba599d5 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -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