Commit Graph

15 Commits

Author SHA1 Message Date
Yury Kossakovsky
d6cd2d44df fix: configure git pull.rebase to prevent divergent branch errors 2025-12-22 09:22:42 -07:00
Yury Kossakovsky
fbfa2563c2 fix: enable universe repository for fail2ban and python3-dotenv
on minimal ubuntu installations (especially cloud vps), the universe
repository may be disabled by default, causing apt to fail installing
packages like fail2ban and python3-dotenv which are only available in
universe. this adds software-properties-common and enables universe
before installing packages.
2025-12-17 10:35:06 -07:00
Yury Kossakovsky
5fd292c506 chore(deps): remove unused system packages 2025-12-12 14:03:49 -07:00
Yury Kossakovsky
04e70cee2d refactor(utils): improve whiptail dialogs and logging utilities
- add adaptive terminal sizing for all whiptail dialogs (wt_get_size)
- add new wrapper functions: wt_checklist, wt_radiolist, wt_menu
- add safe parser wt_parse_choices to replace eval
- improve NEWT_COLORS theme with better contrast (brightgreen/brightcyan)
- add new logging functions: log_header, log_subheader, log_divider, log_box
- add spinner animation utilities for progress indication
- expand color palette with bright variants and text styles
- update 04_wizard.sh to use new whiptail wrappers
2025-12-12 13:43:20 -07:00
Yury Kossakovsky
e0018f2b2d refactor: consolidate shared utilities and add script documentation
- move common functions to utils.sh: init_paths, read_env_var, write_env_var,
  is_profile_active, load_env, gen_password, gen_hex, gen_base64, generate_bcrypt_hash
- add documentation headers to all installation scripts
- replace duplicate code with shared utility calls
- consolidate bcrypt hash generation loop in 03_generate_secrets.sh
- add DEBIAN_FRONTEND save/restore helpers for whiptail scripts
- standardize path initialization across all scripts
2025-12-12 09:58:12 -07:00
Yury Kossakovsky
da6ea89432 Integrate Elasticsearch support into RAGFlow configuration
- Updated .env.example to include RAGFLOW_ELASTICSEARCH_PASSWORD for Elasticsearch credentials.
- Modified docker-compose.yml to replace the Infinity service with a new ragflow-elasticsearch service, including necessary environment variables and health checks.
- Adjusted README.md to reflect the integration of Elasticsearch as the backend for RAGFlow.
- Enhanced system preparation script to configure vm.max_map_count for Elasticsearch requirements.
- Updated secrets generation script to include RAGFLOW_ELASTICSEARCH_PASSWORD for credential management.
2025-11-05 10:18:35 -07:00
Yury Kossakovsky
48414607fd Refactor RAGFlow service configuration in docker-compose.yml and system preparation script
- Removed Elasticsearch service configuration from docker-compose.yml, simplifying the setup.
- Updated RAGFlow service to use the latest image tag for better compatibility.
- Changed environment variable from ES_HOST and ES_PORT to DOC_ENGINE for improved clarity.
- Removed vm.max_map_count configuration from the system preparation script, as it is no longer necessary for RAGFlow.
2025-11-05 10:18:35 -07:00
Yury Kossakovsky
bf5575a48f Add RAGFlow service configuration and documentation
- Updated .env.example to include RAGFlow hostname and internal credentials for MySQL and MinIO.
- Modified Caddyfile to set up a reverse proxy for RAGFlow service.
- Enhanced docker-compose.yml with RAGFlow service definition, including environment variables and health checks for dependencies.
- Updated README.md to include RAGFlow information and service URL for user guidance.
- Configured system preparation script to set vm.max_map_count for Elasticsearch support required by RAGFlow.
- Added secret generation for RAGFlow internal credentials in the secrets generation script.
- Included RAGFlow in the final report script for visibility on service status and access information.
2025-11-05 10:18:35 -07:00
Yury Kossakovsky
c3246e4365 Add functionality to retrieve all profiles from docker-compose file
- Introduced a new function, get_all_profiles, to extract profile names from the docker-compose.yml file.
- Updated the stop_existing_containers function to include all profiles when stopping services, ensuring a comprehensive shutdown of all relevant containers.
- Added the yaml module to handle YAML file parsing.
- Updated system preparation script to install python3-yaml package for YAML support.
2025-07-02 10:07:03 -06:00
Yury Kossakovsky
2835253eee Update system preparation script to include python3-pip installation
- Added python3-pip to the list of standard CLI tools installed in the system preparation script, enhancing the environment setup for Python package management.
2025-05-13 17:30:15 -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
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
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