diff --git a/deployment/bare_metal/.env.dist b/deployment/bare_metal/.env.dist index da745d705..f20a8c2d1 100644 --- a/deployment/bare_metal/.env.dist +++ b/deployment/bare_metal/.env.dist @@ -58,7 +58,8 @@ WEBHOOK_ELOPAGE_SECRET=secret # Federation FEDERATION_DHT_CONFIG_VERSION=v2.2023-02-07 -# 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://stage1.gradido.net diff --git a/dht-node/.env.template b/dht-node/.env.template index 243bfc60f..e3ad1865a 100644 --- a/dht-node/.env.template +++ b/dht-node/.env.template @@ -9,7 +9,13 @@ DB_DATABASE=gradido_community TYPEORM_LOGGING_RELATIVE_PATH=$TYPEORM_LOGGING_RELATIVE_PATH # Federation +FEDERATION_DHT_CONFIG_VERSION=$FEDERATION_DHT_CONFIG_VERSION +# 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=$FEDERATION_DHT_TOPIC FEDERATION_DHT_SEED=$FEDERATION_DHT_SEED FEDERATION_COMMUNITY_URL=$FEDERATION_COMMUNITY_URL FEDERATION_COMMUNITY_API_PORT=$FEDERATION_COMMUNITY_API_PORT +FEDERATION_CONFIG_VERSION=$FEDERATION_CONFIG_VERSION +# comma separated list of api-versions, which cause starting several federation modules +FEDERATION_COMMUNITY_APIS=$FEDERATION_COMMUNITY_APIS