From d37714b4688097f26e88dce4154d541deaff6456 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Claus-Peter=20H=C3=BCbner?= Date: Tue, 21 Feb 2023 23:02:46 +0100 Subject: [PATCH] config changes --- dht-node/.env.dist | 10 +++++----- dht-node/.env.template | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/dht-node/.env.dist b/dht-node/.env.dist index 5d287ee1a..51728d3e1 100644 --- a/dht-node/.env.dist +++ b/dht-node/.env.dist @@ -11,9 +11,9 @@ TYPEORM_LOGGING_RELATIVE_PATH=typeorm.dht-node.log # LOG_LEVEL=info # Federation -# if you set the value of FEDERATION_DHT_TOPIC, the DHT hyperswarm will start to announce and listen -# on an hash created from this topic +# if you set the value of FEDERATION_DHT_TOPIC, the DHT hyperswarm will start to announce and listen on an hash created from this topic FEDERATION_DHT_TOPIC=GRADIDO_HUB -# FEDERATION_DHT_SEED=64ebcb0e3ad547848fef4197c6e2332f -# FEDERATION_COMMUNITY_URL=http://localhost -# FEDERATION_COMMUNITY_API_PORT=5000 +# FEDERATION_DHT_SEED=64ebcb0e3ad547848fef4197c6e2332f +FEDERATION_COMMUNITY_URL=http://localhost +# the api port is the dht baseport, which will be added with the supported api-versions, e.g. 1_0 = 5010 +FEDERATION_COMMUNITY_API_PORT=5000 diff --git a/dht-node/.env.template b/dht-node/.env.template index b3e5d6478..243bfc60f 100644 --- a/dht-node/.env.template +++ b/dht-node/.env.template @@ -1,4 +1,4 @@ -CONFIG_VERSION=$BACKEND_CONFIG_VERSION +CONFIG_VERSION=$FEDERATION_DHT_CONFIG_VERSION # Database DB_HOST=localhost