Commit Graph

14 Commits

Author SHA1 Message Date
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