From b2b20f7f0d872cd0a204a2b9bb22ff837c412b1c Mon Sep 17 00:00:00 2001 From: Cyrille <1618640+cyri113@users.noreply.github.com> Date: Wed, 14 Feb 2024 12:58:34 +0100 Subject: [PATCH] update samples --- ...lyzer.proc.sample => .env.analyzer.sample} | 9 +++- development/.env.api.sample | 51 +++++++++++++++++++ ...nv.bot.proc.sample => .env.discord.sample} | 13 +++-- development/.env.discourse.sample | 18 +++---- development/.env.hivemind.api.sample | 12 ----- development/.env.hivemind.sample | 32 ++++++++++++ .../.env.hivemind.vector.server.sample | 11 ---- .../.env.hivemind.vector.worker.sample | 11 ---- .../{.env.db.sample => .env.mongo.sample} | 0 development/.env.neo4j.sample | 2 +- development/.env.proc.sample | 25 --------- .../{.env.rmq.sample => .env.rabbitmq.sample} | 0 development/.env.sample | 4 +- 13 files changed, 112 insertions(+), 76 deletions(-) rename development/{.env.analyzer.proc.sample => .env.analyzer.sample} (85%) create mode 100644 development/.env.api.sample rename development/{.env.bot.proc.sample => .env.discord.sample} (86%) delete mode 100644 development/.env.hivemind.api.sample create mode 100644 development/.env.hivemind.sample delete mode 100644 development/.env.hivemind.vector.server.sample delete mode 100644 development/.env.hivemind.vector.worker.sample rename development/{.env.db.sample => .env.mongo.sample} (100%) delete mode 100644 development/.env.proc.sample rename development/{.env.rmq.sample => .env.rabbitmq.sample} (100%) diff --git a/development/.env.analyzer.proc.sample b/development/.env.analyzer.sample similarity index 85% rename from development/.env.analyzer.proc.sample rename to development/.env.analyzer.sample index e68b064..8fb7d24 100644 --- a/development/.env.analyzer.proc.sample +++ b/development/.env.analyzer.sample @@ -3,20 +3,27 @@ MONGODB_PORT= MONGODB_USER= MONGODB_PASS= MONGODB_NAME= + REDIS_HOST= REDIS_PORT= REDIS_PASSWORD= + RABBIT_HOST= RABBIT_PORT= RABBIT_USER= RABBIT_PASSWORD= + NEO4J_PROTOCOL= NEO4J_HOST= NEO4J_PORT= NEO4J_USER= NEO4J_PASSWORD= NEO4J_DB= + SAGA_DB_NAME= SAGA_DB_COLLECTION= + SENTRY_DSN= -SENTRY_ENV= \ No newline at end of file + +AUTOMATION_DB_NAME= +AUTOMATION_DB_COLLECTION= \ No newline at end of file diff --git a/development/.env.api.sample b/development/.env.api.sample new file mode 100644 index 0000000..d1e5db4 --- /dev/null +++ b/development/.env.api.sample @@ -0,0 +1,51 @@ +DB_HOST= +DB_USER= +DB_PASSWORD= +DB_NAME= +DB_PORT= + +# 239-new-apis-for-communities-and-platforms +DISCORD_AUTHORIZE_CALLBACK_URI= +DISCORD_CONNECT_CALLBACK_URI= +TWITTER_CONNECT_CALLBACK_URI= +DISCORD_REQUEST_ACCESS_CALLBACK_URI= + +DISCORD_CLIENT_ID= +DISCORD_CLIENT_SECRET= +DISCORD_BOT_TOKEN= + +JWT_SECRET= +JWT_ACCESS_EXPIRATION_MINUTES= +JWT_REFRESH_EXPIRATION_DAYS= +JWT_DISCORD_REFRESH_EXPIRATION_DAYS= + +FRONTEND_URL= + +NOTION_API_KEY= +NOTION_DATABASE_ID= + +RABBIT_HOST= +RABBIT_PORT= +RABBIT_USER= +RABBIT_PASSWORD= + +SENTRY_DSN= +SENTRY_ENV= + +NEO4J_PROTOCOL= +NEO4J_HOST= +NEO4J_PORT= +NEO4J_USER= +NEO4J_PASSWORD= +NEO4J_DB= + +TWITTER_CLIENT_ID= +TWITTER_CLIENT_SECRET= +SESSION_SECRET= +LOG_LEVEL= + +REDIS_HOST= +REDIS_PORT= +REDIS_PASSWORD= + +NODE_ENV= \ No newline at end of file diff --git a/development/.env.bot.proc.sample b/development/.env.discord.sample similarity index 86% rename from development/.env.bot.proc.sample rename to development/.env.discord.sample index 5626e31..88f5947 100644 --- a/development/.env.bot.proc.sample +++ b/development/.env.discord.sample @@ -1,18 +1,25 @@ +DISCORD_CLIENT_ID= +DISCORD_CLIENT_SECRET= +DISCORD_BOT_TOKEN= + NODE_ENV= + DB_HOST= DB_PORT= DB_USER= DB_PASSWORD= DB_NAME= -DISCROD_CLIENT_ID= -DISCORD_CLIENT_SECRET= -DISCORD_BOT_TOKEN= + SENTRY_DSN= SENTRY_ENV= + REDIS_HOST= REDIS_PORT= REDIS_PASSWORD= + RABBIT_HOST= RABBIT_PORT= RABBIT_USER= RABBIT_PASSWORD= + +LOG_LEVEL= \ No newline at end of file diff --git a/development/.env.discourse.sample b/development/.env.discourse.sample index 2d269ec..82b8953 100644 --- a/development/.env.discourse.sample +++ b/development/.env.discourse.sample @@ -1,12 +1,12 @@ -NODE_ENV=production -PORT=3000 +NODE_ENV= +PORT= -NEO4J_HOST=neo4j -NEO4J_PORT=7687 -NEO4J_USERNAME=neo4j -NEO4J_PASSWORD=password +NEO4J_HOST= +NEO4J_PORT= +NEO4J_USERNAME= +NEO4J_PASSWORD= -REDIS_HOST=redis -REDIS_PORT=6379 +REDIS_HOST= +REDIS_PORT= -PROXY_URI=http://xxxx:yyyy@eu.dc.smartproxy.com \ No newline at end of file +PROXY_URI= \ No newline at end of file diff --git a/development/.env.hivemind.api.sample b/development/.env.hivemind.api.sample deleted file mode 100644 index d34d4b5..0000000 --- a/development/.env.hivemind.api.sample +++ /dev/null @@ -1,12 +0,0 @@ -#OpenAI CONFIG -OPENAI_API_KEY= -OPENAI_API_MODEL= - -# AGENT CONFIG -AGENT_NAME= -AGENT_ROLE= - -# BROKER EVENTS CONFIG -RABBITMQ_HOST= -RABBITMQ_USER= -RABBITMQ_PASS= \ No newline at end of file diff --git a/development/.env.hivemind.sample b/development/.env.hivemind.sample new file mode 100644 index 0000000..df7880f --- /dev/null +++ b/development/.env.hivemind.sample @@ -0,0 +1,32 @@ +CHUNK_SIZE= +COHERE_API_KEY= +D_RETRIEVER_SEARCH= +EMBEDDING_DIM= +K1_RETRIEVER_SEARCH= +K2_RETRIEVER_SEARCH= + +MONGODB_HOST= +MONGODB_PASS= +MONGODB_PORT= +MONGODB_USER= + +NEO4J_DB= +NEO4J_HOST= +NEO4J_PASSWORD= +NEO4J_PORT= +NEO4J_PROTOCOL= +NEO4J_USER= + +OPENAI_API_KEY= + +POSTGRES_HOST= +POSTGRES_PASS= +POSTGRES_PORT= +POSTGRES_USER= + +RABBIT_HOST= +RABBIT_PASSWORD= +RABBIT_PORT= +RABBIT_USER= + +TRACELOOP_BASE_URL= \ No newline at end of file diff --git a/development/.env.hivemind.vector.server.sample b/development/.env.hivemind.vector.server.sample deleted file mode 100644 index d32c32d..0000000 --- a/development/.env.hivemind.vector.server.sample +++ /dev/null @@ -1,11 +0,0 @@ -OPENAI_API_KEY= -OPENAI_API_MODEL= - -DB_CONNECTION_STR= -DB_GUILD= - -REDIS_HOST= - -RABBITMQ_HOST= -RABBITMQ_USER= -RABBITMQ_PASS= \ No newline at end of file diff --git a/development/.env.hivemind.vector.worker.sample b/development/.env.hivemind.vector.worker.sample deleted file mode 100644 index d32c32d..0000000 --- a/development/.env.hivemind.vector.worker.sample +++ /dev/null @@ -1,11 +0,0 @@ -OPENAI_API_KEY= -OPENAI_API_MODEL= - -DB_CONNECTION_STR= -DB_GUILD= - -REDIS_HOST= - -RABBITMQ_HOST= -RABBITMQ_USER= -RABBITMQ_PASS= \ No newline at end of file diff --git a/development/.env.db.sample b/development/.env.mongo.sample similarity index 100% rename from development/.env.db.sample rename to development/.env.mongo.sample diff --git a/development/.env.neo4j.sample b/development/.env.neo4j.sample index c3e61fd..7330d32 100644 --- a/development/.env.neo4j.sample +++ b/development/.env.neo4j.sample @@ -1 +1 @@ -NEO4J_AUTH=neo4j/password \ No newline at end of file +NEO4J_AUTH= \ No newline at end of file diff --git a/development/.env.proc.sample b/development/.env.proc.sample deleted file mode 100644 index b0ac26e..0000000 --- a/development/.env.proc.sample +++ /dev/null @@ -1,25 +0,0 @@ -NODE_ENV= -DB_HOST= -DB_USER= -DB_PASSWORD= -DB_NAME= -DB_PORT= -DISCROD_CLIENT_ID= -DISCORD_CLIENT_SECRET= -DISCORD_TRY_NOW_CALLBACK_URI= -DISCORD_LOGIN_CALLBACK_URI= -DISCORD_CONNECT_GUILD_CALLBACK_URI= -DISCORD_BOT_TOKEN= -JWT_SECRET= -JWT_ACCESS_EXPIRATION_MINUTES= -JWT_REFRESH_EXPIRATION_DAYS= -JWT_DISCORD_REFRESH_EXPIRATION_DAYS= -FRONTEND_URL= -NOTION_API_KEY= -NOTION_DATABASE_ID= -RABBIT_HOST= -RABBIT_PORT= -RABBIT_USER= -RABBIT_PASSWORD= -SENTRY_DSN= -SENTRY_ENV= diff --git a/development/.env.rmq.sample b/development/.env.rabbitmq.sample similarity index 100% rename from development/.env.rmq.sample rename to development/.env.rabbitmq.sample diff --git a/development/.env.sample b/development/.env.sample index bb023be..c24c0a8 100644 --- a/development/.env.sample +++ b/development/.env.sample @@ -1,6 +1,4 @@ HOST=127.0.0.1 PORT=3030 VERSION=latest -GITHUB_TOKEN=access_token - -HOST_NAME=domain.com \ No newline at end of file +GITHUB_TOKEN=access_token \ No newline at end of file