Commit Graph

41 Commits

Author SHA1 Message Date
Yury Kossakovsky
a30168a937 Add ComfyUI credentials and integration into configuration
- Updated .env.example to include COMFYUI_USERNAME and COMFYUI_PASSWORD for basic authentication.
- Modified Caddyfile to implement basic authentication for the ComfyUI reverse proxy.
- Enhanced docker-compose.yml to pass ComfyUI credentials as environment variables.
- Updated scripts to generate ComfyUI password and username, ensuring proper setup.
- Included ComfyUI credentials in the final report for visibility.
2025-08-08 13:35:25 -06:00
Yury Kossakovsky
848704d8c4 Remove Portainer credentials from configuration files and scripts
- Updated .env.example to eliminate PORTAINER_USERNAME and PORTAINER_PASSWORD.
- Modified Caddyfile to remove basic authentication for Portainer.
- Adjusted docker-compose.yml to exclude Portainer credentials from environment variables.
- Refactored scripts to stop generating Portainer password and username, ensuring a cleaner setup process.
2025-08-07 21:33:59 -06:00
Yury Kossakovsky
86ea16b359 Add Portainer integration as an optional service
- Updated .env.example to include PORTAINER_HOSTNAME, PORTAINER_USERNAME, PORTAINER_PASSWORD, and PORTAINER_PASSWORD_HASH for configuration.
- Modified Caddyfile to add a reverse proxy for Portainer with basic authentication.
- Enhanced docker-compose.yml to include a new Portainer service and associated volume.
- Updated scripts to generate Portainer credentials and include it in the setup wizard and final report.
- Documented the integration process and reflections in the memory bank for future reference.
2025-08-07 21:29:19 -06:00
Yury Kossakovsky
ea253f4cc5 Add Dify AI Platform integration to n8n-installer project
- Integrated Dify, an open-source AI application development platform, as an optional service in the n8n-installer project.
- Updated start_services.py to include functions for cloning the Dify repository, preparing the environment, and starting Dify services.
- Configured docker-compose.yml to reference Dify's external Docker Compose file and included necessary environment variables.
- Enhanced Caddyfile with reverse proxy settings for Dify, ensuring proper routing and access.
- Updated .env.example to include Dify-specific configuration variables.
- Revised README.md to document Dify's capabilities and access details.
- Enhanced service selection wizard to allow users to choose Dify during setup.
- Comprehensive testing and validation phase pending to ensure full functionality.
2025-08-06 18:01:05 -06:00
Yury Kossakovsky
50d83ccd24 Remove Logflare API key generation from secrets script as tokens are not in use 2025-06-24 10:04:21 -06:00
Yury Kossakovsky
ba63036630 Add Qdrant configuration to environment and Caddyfile
- Introduced QDRANT_API_KEY and QDRANT_HOSTNAME to .env.example for required configuration.
- Updated Caddyfile to include reverse proxy settings for Qdrant service.
- Modified docker-compose.yml to set QDRANT__SERVICE__API_KEY environment variable and adjusted service hostname.
- Enhanced secret generation script to include QDRANT_API_KEY for better integration.
2025-06-17 14:28:23 -06:00
Yury Kossakovsky
876fdce2ba Update secret generation script to reflect non-use of Logflare tokens and improve value handling
- Changed LOGFLARE_PRIVATE_ACCESS_TOKEN and LOGFLARE_PUBLIC_ACCESS_TOKEN to indicate "not-in-use" status, clarifying their role in the script.
- Enhanced logic to only pre-populate generated values with non-empty entries from existing environment variables, improving the handling of user inputs during secret generation.
2025-06-06 11:54:38 -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
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
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
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
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
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
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
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
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
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
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
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
ae5cd1aab2 Enhance n8n import handling in apply_update.sh and update secrets generation
- Added logic to determine the N8N_WORKFLOWS_IMPORTED_EVER variable based on existing environment values and user input.
- Updated the apply_update.sh script to check if workflows have been imported previously, modifying the RUN_N8N_IMPORT and N8N_WORKFLOWS_IMPORTED_EVER variables accordingly.
- Improved user prompts for importing n8n workflows, ensuring a smoother configuration experience.
2025-05-22 11:22:11 -06:00
Yury Kossakovsky
09a369a5d2 Enhance TMP_ENV_FILE handling in 03_generate_secrets.sh
- Added a check to prevent duplicate entries when appending environment variables to TMP_ENV_FILE, ensuring cleaner and more efficient script execution.
2025-05-15 19:54:17 -06:00
Yury Kossakovsky
c3076a9990 Add Letta service configuration and update documentation
- Added Letta service to docker-compose.yml with necessary environment variables and volume configuration.
- Updated Caddyfile to include reverse proxy for Letta.
- Included Letta in the README.md for service availability and provided a brief description.
- Enhanced scripts to generate Letta server password and report its status in the final report.
- Updated .env.example to include Letta hostname and server password variable.
2025-05-15 19:11:33 -06:00
Yury Kossakovsky
cd866edbdd Improve user prompts in 03_generate_secrets.sh and apply_update.sh
- Standardized prompt formatting by removing unnecessary newline characters, enhancing clarity and consistency in user interactions.
- Updated prompts to ensure a more straightforward user experience during input collection, particularly for domain name, email, and n8n worker count inputs.
2025-05-14 14:37:55 -06:00
Yury Kossakovsky
a1a1d2509a Enhance user prompts in 03_generate_secrets.sh and apply_update.sh
- Updated prompts to use printf for better formatting, ensuring dynamic inclusion of variable values in user messages.
- Improved user experience by making prompts clearer and more informative during input collection.
2025-05-14 14:35:05 -06:00
Yury Kossakovsky
ea8e2e07ed Enhance user prompts in 03_generate_secrets.sh and apply_update.sh
- Updated prompts to include newline characters for better readability, improving user experience during input collection.
- Ensured consistency in user interaction across scripts by standardizing prompt formatting.
2025-05-14 14:30:43 -06:00
Yury Kossakovsky
4737b5b950 Enhance unquoting logic in secrets generation script
- Updated the unquoting mechanism in 03_generate_secrets.sh to repeatedly remove surrounding quotes from variable values, improving the handling of quoted strings and ensuring accurate environment variable assignment.
2025-05-11 17:16:28 -06:00
Yury Kossakovsky
25e915a729 Add n8n worker count configuration to Docker Compose and secrets generation script
- Introduced a new deploy section in docker-compose.yml to set the number of n8n worker replicas based on the N8N_WORKER_COUNT environment variable.
- Enhanced 03_generate_secrets.sh to prompt users for the number of n8n workers, including validation and confirmation steps for input, ensuring a positive integer is set.
- Updated generated values and found variables to include N8N_WORKER_COUNT for better environment management.
2025-05-09 17:08:54 -06:00
Yury Kossakovsky
b532c1a813 Refactor quoting in 03_generate_secrets.sh for consistency
- Updated the quoting style for variable assignments to use standard double quotes instead of escaped quotes.
- Ensured consistent formatting across all variable assignments to improve readability and maintainability.
2025-05-09 15:54:05 -06:00
Yury Kossakovsky
644dc3ed79 Fix regex for email validation and correct comment formatting in 03_generate_secrets.sh 2025-05-09 15:42:31 -06:00
Yury Kossakovsky
e5eb607637 Enhance .env file generation in 03_generate_secrets.sh
- Improved handling of existing .env values by reading and populating missing variables during the generation process.
- Added checks to utilize existing user inputs for email and OpenAI API key, allowing for a smoother setup experience.
- Refined the logic for generating JWT secrets and password hashes, ensuring they are only created if not already present.
- Enhanced user prompts for importing workflows and clarified logging messages for better user guidance.
2025-05-08 16:14:16 -06:00
Yury Kossakovsky
8efb37c8b3 Add LANGFUSE initialization variables to .env.example and docker-compose.yml
- Introduced new environment variables for LANGFUSE initialization, including public key, secret key, user email, and user password.
- Updated docker-compose.yml to set default values for organization and project identifiers, enhancing configuration clarity.
- Modified 03_generate_secrets.sh to generate and include new LANGFUSE-related secrets in the environment setup process.
2025-05-08 16:04:59 -06:00
Yury Kossakovsky
9fbe779677 Refactor caddy check in 03_generate_secrets.sh
- Moved the caddy availability check to a later point in the script after the installation process.
- Improved script flow by ensuring caddy is checked only after attempting to install it, enhancing user experience.
2025-05-05 14:14:16 -06:00
Yury Kossakovsky
448a34f959 Add installation and setup scripts for automated environment configuration
- Introduced a series of scripts to automate system preparation, Docker installation, secret generation, service execution, and final reporting.
- Implemented logging functions for better visibility during script execution.
- Ensured checks for required files and user inputs to enhance robustness.
- Added functionality for managing Docker services and generating a comprehensive installation summary.
2025-05-05 13:56:24 -06:00