diff --git a/deployment/bare_metal/.env.dist b/deployment/bare_metal/.env.dist index dc11fff71..059822ea4 100644 --- a/deployment/bare_metal/.env.dist +++ b/deployment/bare_metal/.env.dist @@ -12,6 +12,8 @@ EMAIL_PASSWORD=1234 EMAIL_SMTP_HOST=smtp.lustig.de EMAIL_SMTP_PORT=587 +PORT=4000 + # if set to true allow sending gradidos to another communities FEDERATION_XCOM_SENDCOINS_ENABLED=false @@ -84,6 +86,7 @@ DLT_CONNECTOR=false DLT_CONNECTOR_PORT=6010 DLT_NODE_SERVER_PORT=8340 DLT_NODE_SERVER_URL=$URL_PROTOCOL://$COMMUNITY_HOST/dlt +DLT_GRADIDO_NODE_SERVER_VERSION=0.9.0 DLT_GRADIDO_NODE_SERVER_HOME_FOLDER=/home/gradido/.gradido # used for combining a newsletter on klicktipp with this gradido community diff --git a/dlt-connector/src/config/schema.ts b/dlt-connector/src/config/schema.ts index 67a43383d..645f07470 100644 --- a/dlt-connector/src/config/schema.ts +++ b/dlt-connector/src/config/schema.ts @@ -80,7 +80,10 @@ export const configSchema = v.object({ '8340', ), DLT_GRADIDO_NODE_SERVER_VERSION: v.optional( - v.string('The version of the DLT node server'), + v.pipe( + v.string('The version of the DLT node server, for example: 0.9.0'), + v.regex(/^\d+\.\d+\.\d+$/), + ), '0.9.0', ), DLT_GRADIDO_NODE_SERVER_HOME_FOLDER: v.optional( diff --git a/inspector b/inspector index 9c57ed032..8b63929c7 160000 --- a/inspector +++ b/inspector @@ -1 +1 @@ -Subproject commit 9c57ed032d2e0523cfb5c6400c3a841147a7f957 +Subproject commit 8b63929c7e73ee5c542e05607213f6c80019cf52