Commit Graph

187 Commits

Author SHA1 Message Date
Yury Kossakovsky
6d55ed2747 Remove hotfix logic for vector configuration in start_services.py
- Eliminated the code that commented out logflare sink entries in vector.yml, streamlining the repository setup process.
- This change improves clarity and reduces unnecessary complexity in the service initialization script.
2025-06-06 11:52:33 -06:00
Yury Kossakovsky
a7b8ef9535 Update Logflare access tokens in .env.example to indicate non-use
- Changed LOGFLARE_PRIVATE_ACCESS_TOKEN and LOGFLARE_PUBLIC_ACCESS_TOKEN values to "not-in-use" for clarity on their current status.
- Maintained formatting consistency in the environment variable definitions.
2025-06-06 11:51:35 -06:00
Yury Kossakovsky
08cca9a664 Apply hotfix to vector configuration in start_services.py
- Added logic to comment out logflare sink entries in vector.yml to disable logflare sinks, improving configuration management.
- Included warnings for missing vector.yml file to enhance user feedback during the hotfix process.
2025-06-06 11:40:08 -06:00
Yury Kossakovsky
6315c972b7 Add Logflare access tokens to secret generation script
- Introduced LOGFLARE_PRIVATE_ACCESS_TOKEN and LOGFLARE_PUBLIC_ACCESS_TOKEN to the secret generation script, allowing for better integration with Supabase.
- Updated logic to preserve empty values from existing environment variables, ensuring comprehensive handling of user inputs during secret generation.
2025-06-06 11:35:37 -06:00
Yury Kossakovsky
6226e1f6b0 Add SEARXNG and Logflare tokens to .env.example
- Introduced SEARXNG_PASSWORD_HASH, LOGFLARE_PRIVATE_ACCESS_TOKEN, and LOGFLARE_PUBLIC_ACCESS_TOKEN to the .env.example file, enhancing configuration options for users.
- Ensured proper formatting by adding new lines for clarity and consistency in the environment variable definitions.
2025-06-06 11:24:17 -06:00
Yury Kossakovsky
cbf30fc27b Refactor n8n import logic in secret generation script
- Removed the RUN_N8N_IMPORT_COMPLETE variable from .env.example and the associated logic in 03_generate_secrets.sh to simplify the import process for n8n workflows.
- Streamlined user prompts for importing workflows, ensuring a more straightforward decision-making process during script execution.
2025-05-30 15:25:45 -06:00
Yury Kossakovsky
126317ce75 Update multiple n8n workflows set ID
- Refined various workflows to improve their performance and usability, including updates to AI-powered automation tasks.
- Enhanced integration with external services such as Google Sheets, Telegram, and OpenAI, ensuring smoother data handling and user interactions.
- Improved documentation and clarity within workflows to facilitate better understanding and usage for end-users.
2025-05-30 15:20:39 -06:00
Yury Kossakovsky
e38490cfd7 Add monitoring service to base services data in wizard script
- Included the monitoring service entry in the base_services_data array of 04_wizard.sh, enhancing the service orchestration options available to users.
- Removed the duplicate entry for the monitoring service to streamline the configuration.
2025-05-28 22:14:40 -06:00
Yury Kossakovsky
ddee8a18cd Refine n8n import decision logic in secret generation script
- Updated the logic in 03_generate_secrets.sh to clarify the conditions under which the n8n import decision is made.
- Ensured that the import status is always marked as complete for future runs after user interaction, improving the script's usability and consistency.
2025-05-28 21:54:09 -06:00
Yury Kossakovsky
0a6d0b1a96 Enhance Neo4j reporting in final report script
- Updated the output in 06_final_report.sh to provide clearer information about Neo4j configuration, including Web UI host, Bolt port, and HTTP API access details.
- Improved formatting for better readability and user guidance on authentication and API usage.
2025-05-28 21:50:50 -06:00
Yury Kossakovsky
29258d158f Update COMPOSE_PROFILES in .env.example to include additional services
- Modified the COMPOSE_PROFILES variable to include 'flowise' and 'monitoring' alongside 'n8n', enhancing the configuration for service orchestration.
2025-05-28 20:25:20 -06:00
Yury Kossakovsky
296f559a3b Enhance email and OpenAI API key prompts in secret generation script
- Added conditional checks to ensure prompts for user email and OpenAI API key are only displayed if the respective environment variables are not set, improving user experience and preventing unnecessary input requests.
2025-05-28 19:16:19 -06:00
Yury Kossakovsky
3833595172 Fix empty 'then' block in OpenAI API Key check in secret generation script
- Added a null command to the 'then' block of the OpenAI API Key check in 03_generate_secrets.sh to prevent syntax errors and improve script stability.
2025-05-28 19:07:12 -06:00
Yury Kossakovsky
3c4abffe1e Enhance README.md for Quick Start and Usage instructions
- Updated the Quick Start section to provide clearer access instructions for services post-installation, including login details for n8n and Flowise.
- Added steps for exploring n8n, utilizing integrated AI tools, and checking monitoring options with Grafana.
- Improved overall structure and clarity to facilitate user onboarding and understanding of available services.
2025-05-28 19:04:25 -06:00
Yury Kossakovsky
9811265a12 Refactor logging in secret generation and wizard scripts
- Removed unnecessary log_info statements in 03_generate_secrets.sh to reduce clutter and improve readability.
- Updated 04_wizard.sh by removing a log_info statement related to setting COMPOSE_PROFILES, streamlining the output during configuration.
2025-05-28 19:01:35 -06:00
Yury Kossakovsky
5ef17de012 Remove Weaviate password handling from configuration files and scripts
- Eliminated WEAVIATE_PASSWORD and WEAVIATE_PASSWORD_HASH from .env.example, Caddyfile, Docker Compose, and the secret generation script to enhance security by avoiding plaintext password exposure.
- Updated related scripts to reflect the removal of Weaviate password management, ensuring a streamlined configuration.
2025-05-28 18:53:53 -06:00
Yury Kossakovsky
0529b7a420 Fix reverse proxy configuration for Neo4j in Caddyfile
- Removed unnecessary path specification in the reverse_proxy directive for Neo4j, streamlining the configuration.
2025-05-28 18:46:36 -06:00
Yury Kossakovsky
4d882c3bc9 Add Neo4j username handling in secret generation script
- Introduced NEO4J_AUTH_USERNAME variable to manage Neo4j username in the secret generation process.
- Updated user input variable list and logic to accommodate the new username variable, ensuring proper handling in the .env file.
2025-05-28 18:40:51 -06:00
Yury Kossakovsky
06a1b9fb86 Update Caddyfile and Docker Compose for Neo4j integration
- Modified Caddyfile to configure reverse proxy for Neo4j HTTP and Bolt protocols.
- Updated Docker Compose to expose port 7687 for Neo4j Bolt protocol access.
2025-05-28 18:40:45 -06:00
Yury Kossakovsky
d6a00ff889 Update .env.example to include new password hash variables
- Added PROMETHEUS_PASSWORD_HASH, SEARXNG_PASSWORD_HASH, and WEAVIATE_PASSWORD_HASH to .env.example for improved security management of sensitive data.
2025-05-28 17:28:28 -06:00
Yury Kossakovsky
9b77ffb6db Add functions for environment variable management and password hashing in secret generation script
- Introduced _update_or_add_env_var function to streamline updating or adding variables in the .env file.
- Added _generate_and_get_hash function to handle password hashing using Caddy, improving security for sensitive data.
- Refactored logic for generating and storing password hashes for Prometheus, SearXNG, and Weaviate, ensuring consistent handling and updates in the .env file.
2025-05-28 17:27:28 -06:00
Yury Kossakovsky
73d3d57442 Update Docker Compose handling in start_services.py for security compliance
- Modified the cap_drop directive in the Docker Compose configuration to ensure correct multi-line YAML format.
- Added a note to re-enable the cap_drop directive after the first run for enhanced security.
2025-05-28 17:18:11 -06:00
Yury Kossakovsky
597d43ec3c Refactor secret generation script to improve variable management
- Moved the declaration of the generated_values associative array to a more appropriate location in 03_generate_secrets.sh for better organization.
- Removed redundant declaration of generated_values to streamline the script's logic and enhance readability.
2025-05-28 17:13:46 -06:00
Yury Kossakovsky
47cfef0698 Implement n8n workflow import logic in secret generation script
- Added RUN_N8N_IMPORT_COMPLETE variable to .env.example to track the completion status of n8n workflow imports.
- Updated 03_generate_secrets.sh to manage user prompts for importing workflows and preserve the import status across sessions.
- Refined the logic for determining whether to prompt the user for importing workflows based on previous completion status.
2025-05-28 17:08:21 -06:00
Yury Kossakovsky
93ab91f392 Enhance domain name handling in secret generation script
- Added USER_DOMAIN_NAME variable to .env.example for user-defined domain configuration.
- Updated 03_generate_secrets.sh to improve domain input handling, including validation and user prompts.
- Simplified the process of retrieving and confirming the primary domain name for services.
2025-05-28 16:57:45 -06:00
Yury Kossakovsky
3139ca54de Refactor logging messages in scripts for clarity
- Removed redundant log message in 04_wizard.sh related to COMPOSE_PROFILES.
- Updated success messages in apply_update.sh for improved readability and conciseness.
2025-05-28 16:45:52 -06:00
Yury Kossakovsky
d319f80133 Merge branch 'main' into develop 2025-05-28 16:40:05 -06:00
Yury Kossakovsky
36a1b7ac1b Add contributors section to README.md
- Introduced a new section in README.md to acknowledge project contributors.
- Added a link to the GitHub Contributors Page for easy access to contributor information.
2025-05-28 16:37:12 -06:00
Yury Kossakovsky
3fe6f5bf34 Merge pull request #1 from samfili/dev
Add new n8n grafana dashboard & fix  dashboard datasource  for provisioning on new grafana version
2025-05-28 16:30:06 -06:00
Yury Kossakovsky
c10e8df0a3 Update environment configuration and enhance logging in scripts
- Added COMPOSE_PROFILES variable to .env.example for better service profile management.
- Enhanced logging in 04_wizard.sh to provide clearer information on the read COMPOSE_PROFILES value.
- Updated apply_update.sh to improve success messages and removed redundant service stopping logic for clarity.
2025-05-27 20:49:41 -06:00
Yury Kossakovsky
6797dbb5c3 Enhance Weaviate configuration in docker-compose and secret generation script
- Added Weaviate username and password hash environment variables to docker-compose.yml for improved security and configuration.
- Updated 03_generate_secrets.sh to better handle existing environment variables and ensure proper initialization of the .env file.
2025-05-27 16:25:47 -06:00
Yury Kossakovsky
9ba99a33b4 Update Neo4j username handling in configuration files
- Set default Neo4j username in .env.example for easier configuration.
- Removed dynamic assignment of Neo4j username in 03_generate_secrets.sh to streamline secret generation.
- Updated user input variable list to reflect the changes in Neo4j username handling.
2025-05-27 15:58:07 -06:00
Yury Kossakovsky
ec4b0412a2 Add documentation for pre-installed libraries in n8n's Custom JavaScript
- Introduced a new section in README.md detailing the pre-installed Node.js libraries available for use in n8n's Code nodes, including `cheerio`, `axios`, `moment`, and `lodash`.
- Enhanced user understanding of available tools for web scraping, API requests, date manipulation, and utility functions.
2025-05-27 14:59:27 -06:00
Yury Kossakovsky
fa9c52af3e Update configuration files to enhance Weaviate and Neo4j integration
- Added Weaviate username, password, and API key placeholders to .env.example.
- Updated Caddyfile to include Prometheus reverse proxy settings.
- Enhanced docker-compose.yml with health checks and ulimits for Neo4j service.
- Modified scripts to include Neo4j in the service selection and final report outputs.
2025-05-27 14:45:07 -06:00
Yury Kossakovsky
50e6725b2e Add Neo4j service configuration and update related files
- Introduced Neo4j service in docker-compose.yml with necessary environment variables and volume mappings.
- Updated Caddyfile to include reverse proxy settings for Neo4j.
- Enhanced .env.example to include placeholders for Neo4j username and password.
- Modified README.md to document Neo4j integration and access details.
- Added .cursorignore file to specify files and directories to ignore during indexing.
2025-05-27 14:23:01 -06:00
Ivan Kurbanov
c8820f43e1 Add new n8n grafana dashboard & fix dashboard datasource for provisioning 2025-05-27 17:52:08 +03:00
Cole Medin
bfcb95af45 Added Neo4j (Knowledge Graph Engine) to the Local AI Package 2025-05-26 13:04:41 -05:00
Yury Kossakovsky
3c9a39d446 Enhance domain input handling in 03_generate_secrets.sh and update apply_update.sh
- Introduced logic to infer the current domain from N8N_HOSTNAME or SUPABASE_HOSTNAME for user prompts in 03_generate_secrets.sh.
- Improved user prompts to display the current domain as a default suggestion, enhancing user experience.
- Updated apply_update.sh to ensure the .env file is checked and updated by calling 03_generate_secrets.sh during the update process.
2025-05-24 10:15:04 -06:00
Yury Kossakovsky
c343d2c1e9 Add Weaviate service configuration and update documentation
- Introduced Weaviate service in docker-compose.yml with necessary environment variables and health checks.
- Updated Caddyfile to include reverse proxy settings for Weaviate with basic authentication.
- Enhanced README.md to document Weaviate's integration and access details.
- Modified scripts to generate secrets for Weaviate, including username and password handling.
- Updated final report script to display Weaviate configuration details for user clarity.
2025-05-24 09:41:14 -06:00
Yury Kossakovsky
ab7997a4ca Remove redundant log messages in scripts for improved clarity
- Eliminated unnecessary log_info statements in 03_generate_secrets.sh, 06_final_report.sh, and apply_update.sh to streamline output and enhance readability.
- Adjusted echo statements in 06_final_report.sh to maintain focus on essential information without clutter.
2025-05-23 17:37:27 -06:00
Yury Kossakovsky
eeb19f590f Refactor logging and user prompts in installation and wizard scripts
- Enhanced user feedback by replacing echo statements with log_info and log_error for better consistency in logging.
- Added empty echo statements before user prompts in 03_generate_secrets.sh to improve readability.
- Removed unnecessary log messages related to Caddy installation and uninstallation in 03_generate_secrets.sh.
- Updated 04_wizard.sh to include utility sourcing and improved logging for service selection and profile updates.
- Streamlined apply_update.sh by removing redundant log messages regarding Supabase compose file checks.
2025-05-23 15:05:23 -06:00
Yury Kossakovsky
b0a72d339d Update .env.example to include LETTA_SERVER_PASSWORD placeholder and add section separator
- Added a placeholder for LETTA_SERVER_PASSWORD to the .env.example file for clarity in configuration.
- Included a section separator for better organization of environment variables.
2025-05-22 18:05:38 -06:00
Yury Kossakovsky
3fd4cc9c23 Update Qdrant service configuration in docker-compose.yml and final_report.sh
- Removed comments for gRPC and HTTP REST API ports in docker-compose.yml to simplify the configuration.
- Corrected the internal REST API access message in final_report.sh to reflect the updated port usage, ensuring clarity in service access instructions.
2025-05-22 17:52:51 -06:00
Yury Kossakovsky
a9a6493e5f Add gRPC and HTTP REST API ports to Qdrant service in docker-compose.yml
- Exposed ports 6333 and 6334 for gRPC and HTTP REST API access, respectively, enhancing service connectivity and functionality.
2025-05-22 17:47:42 -06:00
Yury Kossakovsky
1db81b35da Update Supabase reporting in final_report.sh to enhance clarity
- Removed detailed PostgreSQL connection information to streamline output.
- Added Service Role Secret to provide necessary context for Supabase configuration.
- Improved overall readability of the Supabase section in the final report.
2025-05-22 17:38:37 -06:00
Yury Kossakovsky
abaeea95e8 Temporarily remove comment on cap_drop in docker-compose.yml for SearXNG service
- Updated the comment for the cap_drop directive to clarify its temporary status for initial testing, ensuring users are aware of the context without referencing external documentation.
2025-05-22 14:27:44 -06:00
Yury Kossakovsky
6cd3eb7927 Refactor apply_update.sh to streamline service update process
- Removed redundant service selection wizard invocation from the pull section, ensuring it runs first to update service choices.
- Enhanced logging messages for clarity regarding the Supabase compose file inclusion and Docker image pulling.
- Improved error handling for the service selection wizard failure, preventing continuation of the update process if it fails.
2025-05-22 14:19:28 -06:00
Yury Kossakovsky
5eae1e4872 Remove container removal command from apply_update.sh for 'localai' project to streamline shutdown process and improve error handling. 2025-05-22 14:11:08 -06:00
Yury Kossakovsky
f5aa8a5ddf Refactor service management in start_services.py and scripts
- Updated the is_supabase_enabled function to read COMPOSE_PROFILES from the .env file instead of os.environ, improving clarity.
- Simplified the run_command function by removing the unused env parameter.
- Refined the stop_existing_containers function to streamline the shutdown process for the 'localai' project, conditionally including the Supabase compose file.
- Enhanced logging for better user feedback during service management operations.
- Adjusted the scripts for generating secrets and applying updates to improve clarity and functionality.
2025-05-22 14:09:28 -06:00
Yury Kossakovsky
1c2b348ee3 Add .env.bak to .gitignore
- Included .env.bak in the .gitignore file to prevent backup environment files from being tracked by Git, ensuring a cleaner repository and reducing the risk of accidentally committing sensitive information.
2025-05-22 13:46:54 -06:00