Commit Graph

20 Commits

Author SHA1 Message Date
Yury Kossakovsky
257656d53e Refactor langfuse profile output in final report script
- Moved the langfuse profile output section to ensure it includes user email and password details, enhancing the clarity and completeness of the final report.
2025-05-12 12:14:14 -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
8ef4cee057 Update run services script path in update.sh
- Changed the path of the run services script from 04_run_services.sh to 05_run_services.sh to reflect the updated script structure.
2025-05-09 17:10:05 -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
1128e71534 Update Docker Compose configuration and enhance final report script
- Changed the database host in docker-compose.yml from 'db' to 'postgres' for clarity.
- Added a function in 06_final_report.sh to check if specific profiles are active, improving the conditional display of service access credentials based on active profiles.
2025-05-09 16:56:56 -06:00
Yury Kossakovsky
04e4722016 Consolidate python-dotenv installation in system preparation script
- Merged the installation of the python3-dotenv library into the main package installation command for streamlined setup.
- Removed separate logging for python-dotenv installation, simplifying the script while maintaining user awareness during the process.
2025-05-09 16:09:12 -06:00
Yury Kossakovsky
9112b5eb2e Refactor python-dotenv installation in system preparation script
- Changed the installation method of the python-dotenv library from pip to apt for better package management.
- Updated logging to reflect the new installation approach, enhancing user awareness during setup.
2025-05-09 16:08:28 -06:00
Yury Kossakovsky
7de541a9cb Enhance system preparation script to include python-dotenv installation
- Added installation of python3-pip and the python-dotenv library to the system preparation script.
- Improved logging to indicate the installation of the python-dotenv library for better user awareness.
2025-05-09 16:06:40 -06:00
Yury Kossakovsky
ad5a76f402 Implement Supabase service management in start_services.py and update 04_wizard.sh
- Added functionality to check if Supabase is enabled via the .env file before cloning the repository and preparing the environment.
- Updated the command execution flow to conditionally include Supabase in the Docker commands based on its enabled status.
- Enhanced the service selection wizard in 04_wizard.sh to include Supabase as an option for user selection.
2025-05-09 15:58:33 -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
fb12b8eda4 Enhance 04_wizard.sh to manage DEBIAN_FRONTEND environment variable for whiptail compatibility
- Store the original DEBIAN_FRONTEND value before setting it to 'dialog' for whiptail.
- Restore the original DEBIAN_FRONTEND value after the checklist execution.
- Improve formatting of the whiptail checklist command for better readability.
2025-05-09 15:48:34 -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
c3e95f7f98 Change permissions of 04_wizard.sh to make it executable 2025-05-09 15:32:40 -06:00
Yury Kossakovsky
29a2c30978 Update install.sh to reflect script renaming and reordering
- Replaced "00_wizard.sh" with "04_wizard.sh" in the required scripts list.
- Renamed "04_run_services.sh" to "05_run_services.sh" and "05_final_report.sh" to "06_final_report.sh" for better clarity and organization of the installation process.
2025-05-09 15:30:47 -06:00
Yury Kossakovsky
b7ff4399d1 Add service profiles to docker-compose.yml and implement service selection wizard
- Added profiles for various services in docker-compose.yml to enhance service management.
- Introduced a new interactive wizard script (04_wizard.sh) for user-friendly service selection during installation.
- Updated installation script (install.sh) to incorporate the service selection process.
- Added final report script (06_final_report.sh) to summarize installation steps and provide access credentials.
- Enhanced system preparation script (01_system_preparation.sh) by including 'whiptail' for the wizard functionality.
2025-05-09 15:24:13 -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
063adc22bb Add PostgreSQL connection details to final report script
- Included environment variable outputs for PostgreSQL configuration, enhancing visibility of database connection settings.
- Added host, port, database, user, and password information to the final report for better clarity during setup.
2025-05-08 15:52:26 -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