From be582e06cd92f8ef4badc302271d79fdea98f126 Mon Sep 17 00:00:00 2001 From: Joel Nordell Date: Thu, 22 Feb 2024 12:28:10 -0600 Subject: [PATCH 1/2] Do not set INDEXER_CONFIG_PATH by default in Dockerfile --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index eedd8a8..1c13f7f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -24,7 +24,9 @@ COPY --from=builder /usr/src/namadexer/checksums.json /app RUN apt-get update && rm -rf /var/lib/apt/lists/* # default env -ENV INDEXER_CONFIG_PATH "/app/config/Settings.toml" ENV RUST_LOG "namadexer=debug" +# if you wish to run with a config file, mount it at /app/config/Settings.toml +# and set the env variable INDEXER_CONFIG_PATH to /app/config/Settings.toml + CMD indexer From 5092398a54914bc78a97965bb25c11aace50a490 Mon Sep 17 00:00:00 2001 From: Joel Nordell Date: Wed, 28 Feb 2024 10:24:27 -0600 Subject: [PATCH 2/2] Remove default RUST_LOG in docker image --- Dockerfile | 3 --- 1 file changed, 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1c13f7f..4126bd2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -23,9 +23,6 @@ COPY --from=builder /usr/src/namadexer/checksums.json /app RUN apt-get update && rm -rf /var/lib/apt/lists/* -# default env -ENV RUST_LOG "namadexer=debug" - # if you wish to run with a config file, mount it at /app/config/Settings.toml # and set the env variable INDEXER_CONFIG_PATH to /app/config/Settings.toml