From a495e9d41ca6a7e006188d7adb04cc7747166a06 Mon Sep 17 00:00:00 2001 From: Theophilus Date: Fri, 17 Nov 2023 20:05:27 +0100 Subject: [PATCH] feat: update to path specification in https://github.com/bitcoin-dev-project/sim-ln/pull/132 --- Makefile | 17 ++++++++++------- docker/README.md | 1 + docker/entrypoint.sh | 7 ++++++- docker/setup-volume.sh | 6 +++--- 4 files changed, 20 insertions(+), 11 deletions(-) diff --git a/Makefile b/Makefile index 68777f3f..c4b779eb 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,6 @@ LOG_LEVEL ?= info +DEFAULT_DATA_DIR ?= /data_dir +DEFAULT_SIMFILE_PATH ?= /data_dir/sim.json build-docker: docker build -f docker/Dockerfile -t sim-ln . @@ -15,17 +17,18 @@ help: @echo "stop Stops the Docker container." @echo "" @echo "Variables:" - @echo "SIMFILE_PATH Path to the sim.json file." - @echo "LOG_LEVEL Set the logging level (default: info) e.g. " - @echo "HELP Set to true to print the help message (default: false) e.g. " - @echo "PRINT_BATCH_SIZE Set the batch size for printing the results e.g. " - @echo "TOTAL_TIME Set the total time for the simulation e.g. " + @echo "SIMFILE_PATH Path to the sim.json file." + @echo "LOG_LEVEL Set the logging level (default: info) e.g. ." + @echo "HELP Set to true to print the help message (default: false) e.g. ." + @echo "PRINT_BATCH_SIZE Set the batch size for printing the results e.g. ." + @echo "TOTAL_TIME Set the total time for the simulation e.g. ." + @echo "DATA_DIR Set the data directory for the simulation containing simulation files and results e.g.