Commit Graph

261 Commits

Author SHA1 Message Date
TUCU-Adam
0ac3f89e15 Adding cloudflare tunnel mod
docker-compose.yml - Add the cloudflared service definition
.env.example - Add CLOUDFLARE_TUNNEL_TOKEN variable with documentation
scripts/03_generate_secrets.sh - Add tunnel token prompt with auto-enable logic
scripts/04_wizard.sh - Add cloudflare-tunnel to service selection menu
scripts/06_final_report.sh - Add security reminder when tunnel is enabled
README.md - Add comprehensive documentation section
2025-08-13 20:27:02 -04:00
Yury Kossakovsky
fc6b46ca3e Add n8n-installer Developer Documentation
- Introduced comprehensive documentation for the n8n-installer project, detailing the installation process, project architecture, and script interactions.
- Included a flow diagram illustrating the sequential execution of installation scripts and their dependencies.
- Documented each script's purpose, key functions, and interactions to aid in troubleshooting and future development.
- Provided guidelines for adding new services and debugging common issues, ensuring a user-friendly experience for developers and AI assistants.
2025-08-13 10:55:32 -06:00
Yury Kossakovsky
cb5cdbea88 Add automated n8n workflow for GitHub backup with deletion tracking
- Introduced a new workflow to automate the backup of n8n workflows to GitHub, including functionality to track and delete workflows that have been removed in n8n.
- Implemented nodes for file retrieval, comparison, and conditional actions based on file status (new, different, or same).
- Added scheduling capabilities and notifications via Telegram for workflow execution status.
- Configured global variables for GitHub repository settings to streamline user setup.
2025-08-12 21:20:46 -06:00
Yury Kossakovsky
b74183b1c6 Update DIFY_EXPOSE_NGINX_SSL_PORT in .env.example to 9443 for consistency with new configuration 2025-08-11 11:36:12 -06:00
Yury Kossakovsky
8415057e9c Increase whiptail checklist dimensions in service selection wizard for improved usability 2025-08-08 14:36:23 -06:00
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
13d3f401b6 Update ComfyUI CLI arguments in docker-compose.yml to include CPU support 2025-08-07 22:22:08 -06:00
Yury Kossakovsky
51d46d9144 Add ComfyUI as an optional service in the installer
- Updated .env.example to include COMFYUI_HOSTNAME for configuration.
- Modified Caddyfile to add a reverse proxy for ComfyUI at the specified hostname.
- Enhanced docker-compose.yml to include a new ComfyUI service with persistent storage and health checks.
- Updated scripts to integrate ComfyUI into the setup wizard and final report.
- Documented the integration process and reflections in the memory bank for future reference.
2025-08-07 22:13:01 -06:00
Yury Kossakovsky
a2d298fca5 Add Portainer documentation to README
- Included a description of Portainer as a lightweight web UI for managing Docker environments.
- Added Portainer access information to the services list in the README, specifying the URL and authentication details.
2025-08-07 21:40:52 -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
5dd2655a93 Update reverse proxy configuration for Dify in Caddyfile
- Changed reverse proxy target for Dify from 'dify-nginx:8080' to 'nginx:80' to align with the updated NGINX exposure settings.
2025-08-07 20:48:21 -06:00
Yury Kossakovsky
9ce8689714 Refactor Dify environment setup and configuration
- Updated .env.example to remove deprecated DIFY_NGINX_PORT and streamline Dify application settings.
- Changed reverse proxy port for Dify in Caddyfile from 80 to 8080 for consistency with new configuration.
- Enhanced start_services.py with new functions to check Dify integration, clone the repository, and prepare the environment, ensuring proper setup and configuration of Dify services.
2025-08-07 20:36:39 -06:00
Yury Kossakovsky
45dd593b11 Update Dify environment configuration to support new NGINX exposure ports
- Added DIFY_EXPOSE_NGINX_PORT and DIFY_EXPOSE_NGINX_SSL_PORT to .env.example for improved NGINX configuration.
- Updated start_services.py to set and append these new variables, ensuring backward compatibility with DIFY_NGINX_PORT.
- Enhanced logic to prevent port conflicts by checking and setting the new exposure ports in the generated .env file.
2025-08-07 20:24:44 -06:00
Yury Kossakovsky
86859e1376 Enhance Dify environment preparation in start_services.py
- Updated clone_dify_repo to include both the docker directory and root .env.example during sparse checkout.
- Refactored prepare_dify_env to create a dedicated function for preparing the .env file, improving modularity.
- Enhanced error handling and added warnings for missing directories.
- Implemented logic to create a basic .env if .env.example is not found, ensuring a smoother setup process.
2025-08-07 20:15:34 -06:00
Yury Kossakovsky
10029f1034 Update Dify configuration in .env.example and Caddyfile
- Added DIFY_NGINX_PORT variable to .env.example, setting it to 8080.
- Changed reverse proxy port for Dify in Caddyfile from 8080 to 80 for consistency.
2025-08-07 19:43:11 -06:00
Yury Kossakovsky
e8f99e963b Reduce Dify initialization wait time from 15 to 10 seconds in start_services.py. Update apply_update.sh to include checks for Dify's Docker Compose file, ensuring it is pulled if available. 2025-08-06 19:04:24 -06:00
Yury Kossakovsky
75e154ecea Update Dify configuration in .env.example and Caddyfile
- Removed deprecated DIFY_DB and DIFY_CELERY_BROKER_URL variables from .env.example.
- Updated Caddyfile to change the reverse proxy port for Dify from 80 to 8080.
- Enhanced start_services.py to dynamically set NGINX_PORT to prevent port conflicts.
2025-08-06 18:57:40 -06:00
Yury Kossakovsky
43d7dd6b4e Refactor Dify environment preparation in start_services.py
- Updated prepare_dify_env function to copy .env.example to .env and add the DIFY_SECRET_KEY from the main .env file.
- Improved error handling and added warnings for missing files.
- Created a fallback mechanism to generate a basic .env configuration if .env.example is not found.
2025-08-06 18:48:33 -06:00
Yury Kossakovsky
71e75254a7 Enhance Dify integration in n8n-installer project
- Updated start_services.py to include checks for the Dify Docker Compose file, ensuring proper service shutdown.
- Corrected the Docker Compose file extension from .yml to .yaml in the start_dify function for compatibility.
- Revised activeContext.md and progress.md to reflect the completion and archiving of the Dify AI Platform integration task.
- Created a comprehensive archive document detailing the integration process, challenges, and lessons learned.
- Updated reflection document to capture insights and improvements for future integrations.
2025-08-06 18:35:45 -06:00
Yury Kossakovsky
a56738851a Update .gitignore to include Dify directory for exclusion from version control 2025-08-06 18:07:52 -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
58b5f3383f Remove Gotenberg external access and update documentation for internal use only
- Removed Gotenberg configuration from .env.example and docker-compose.yml to restrict external access.
- Updated Caddyfile to eliminate reverse proxy settings for Gotenberg.
- Revised README.md to clarify that Gotenberg is now accessible only within the Docker network.
- Enhanced final report script to include internal access details and API documentation for Gotenberg.
2025-08-06 17:31:36 -06:00
Yury Kossakovsky
1fe9cf9e85 Add Gotenberg service integration to n8n-installer project
- Integrated Gotenberg, a document conversion API, as an optional service in the n8n-installer project.
- Updated docker-compose.yml to include Gotenberg service configuration with health checks and environment variables.
- Configured Caddy reverse proxy for Gotenberg, ensuring proper routing and SSL support.
- Enhanced service selection wizard to allow users to choose Gotenberg during setup.
- Updated .env.example and README.md to reflect the new service, including usage examples and access details.
- Comprehensive testing and validation phase pending to ensure full functionality.
2025-08-06 17:24:57 -06:00
Yury Kossakovsky
ae79e1b88f Add initial documentation files for n8n-installer project
- Created multiple foundational documents including activeContext.md, productContext.md, progress.md, projectbrief.md, systemPatterns.md, tasks.md, techContext.md to establish a comprehensive overview of the project.
- Each document outlines key aspects such as project status, user personas, technical stack, architectural patterns, and future development opportunities, ensuring clarity and direction for ongoing and future work.
- The project is now fully initialized and ready for development across various modes.
2025-08-06 11:06:01 -06:00
Yury Kossakovsky
43cedb8082 Add optimized isolation rules and visual maps for Memory Bank system
- Introduced a comprehensive set of isolation rules, including optimized workflows for various task levels (1-4) to enhance token efficiency and streamline processes.
- Added visual process maps for different modes (VAN, PLAN, CREATIVE, BUILD, REFLECT, ARCHIVE, QA) to guide users through task documentation and implementation phases.
- Implemented detailed documentation for each rule and map, ensuring clarity and usability for developers working with the Memory Bank system.
2025-08-06 10:55:53 -06:00
Yury Kossakovsky
88575aaa43 Enhance docker_cleanup.sh with logging and error handling
- Added error handling with 'set -e' to ensure the script exits on errors.
- Integrated logging functions for starting and completing the Docker cleanup process, improving visibility and tracking of script execution.
2025-08-06 10:43:09 -06:00
Yury Kossakovsky
4863f44c6e Add Docker cleanup script and update README
- Introduced a new script, docker_cleanup.sh, for cleaning up unused Docker containers, images, and volumes to free up disk space.
- Updated README.md to include instructions for using the Docker cleanup script, emphasizing its utility and caution regarding data removal.
2025-08-06 10:41:09 -06:00
Yury Kossakovsky
e05c1c8916 Add system package update step in update.sh script
- Implemented a check to update Ubuntu packages using apt-get before executing the apply_update process. This ensures the system is up-to-date, enhancing the overall update procedure. Added logging for successful updates and warnings for non-Debian systems.
2025-08-06 10:34:07 -06:00
Yury Kossakovsky
d74988c8d0 Refactor start_local_ai function to build and start services separately
- Updated the start_local_ai function to first build services and pull newer base images before starting the containers. This ensures that the latest changes are applied and improves the deployment process.
2025-07-31 13:41:56 -06:00
Yury Kossakovsky
58995a0f4c Update start_services.py to rebuild local AI services on startup
- Modified the command in start_local_ai function to include the --build flag, ensuring that local AI services are rebuilt each time they are started, which helps in applying the latest changes to the services.
2025-07-31 13:35:04 -06:00
Yury Kossakovsky
d2552b4a37 Update docker-compose.yml to enable image pulling for N8N service
- Added 'pull: true' to the N8N service build configuration to ensure the latest image is always pulled before building, enhancing the deployment process.
2025-07-31 13:28:47 -06:00
Yury Kossakovsky
a5dc3401e4 Refactor Dockerfile to use Alpine package manager for ffmpeg installation
- Changed the installation method for ffmpeg from apt-get to apk to optimize the Docker image size and improve build efficiency.
2025-07-29 14:16:56 -06:00
Yury Kossakovsky
63138e278d Update docker-compose.yml to build N8N from local context and add Dockerfile for N8N service
- Changed N8N service configuration in docker-compose.yml to build from a local context instead of using the latest image.
- Added a new Dockerfile for the N8N service that installs ffmpeg to enhance functionality.
2025-07-29 14:13:44 -06:00
Yury Kossakovsky
3709f2218d Remove outdated documentation for project structure and business logic from ai-docs
- Deleted basic-structure.md and business-logic.md files as they are no longer relevant to the current project setup and documentation needs.
2025-07-17 13:30:09 -06:00
Yury Kossakovsky
194b3b5215 Update docker-compose.yml to enable N8N_TRUST_PROXY and adjust WEBHOOK_URL format
- Added N8N_TRUST_PROXY environment variable to enhance proxy trust settings.
- Modified WEBHOOK_URL to ensure it ends with a trailing slash for consistency in URL handling.
2025-07-17 11:02:25 -06: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
5d909ca188 Enhance stop_existing_containers function to conditionally include Supabase Docker Compose file
- Updated the logic to check for the existence of the Supabase Docker Compose file before including it in the 'down' command.
- This change ensures that Supabase services are properly stopped even if they were disabled in the .env file during the last run.
2025-07-02 09:58:00 -06:00
Yury Kossakovsky
d940df6799 Add Langsmith configuration to .env.example and docker-compose.yml
- Introduced LANGCHAIN_ENDPOINT, LANGCHAIN_TRACING_V2, and LANGCHAIN_API_KEY variables in .env.example.
- Updated docker-compose.yml to include the new Langsmith environment variables for the service configuration.
2025-07-02 09:48:59 -06:00
Yury Kossakovsky
bfcf185caf Merge remote-tracking branch 'upstream/main' 2025-07-01 14:15:13 -06:00
Yury Kossakovsky
32a673d8f4 Update SearXNG configuration in Caddyfile
- Implemented IP-based access control for basic authentication in the SearXNG section.
- Enhanced security by restricting access to specific IP ranges while maintaining authentication for other users.
2025-06-28 16:03:58 -06:00
Yury Kossakovsky
215fe644a2 Refactor Caddyfile for SearXNG configuration
- Cleaned up and organized the SearXNG section by removing commented-out code and ensuring proper indentation.
- Added routing and caching policies for API, search, image proxy, and static content.
- Implemented security headers including Content-Security-Policy and Strict-Transport-Security.
- Configured reverse proxy settings for SearXNG service.
2025-06-28 15:04:23 -06:00
Cole Medin
3f81ddc172 Update README.md 2025-06-28 13:40:46 -05:00
Cole Medin
48750aca19 Update README.md 2025-06-28 13:40:24 -05: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
a11addadd5 Update .env.example to indicate Logflare tokens are not in use 2025-06-24 10:03:44 -06:00
Yury Kossakovsky
692518f44f Merge remote-tracking branch 'upstream' into develop 2025-06-24 10:00:15 -06:00
Cole Medin
6a1b012ca7 Update .env.example
# Pool size for internal metadata storage used by Supavisor
# This is separate from client connections and used only by Supavisor itself
POOLER_DB_POOL_SIZE=5
2025-06-23 17:41:59 -05:00
Yury Kossakovsky
05e5eeaada Merge remote-tracking branch 'upstream' into develop 2025-06-23 14:07:56 -06:00
Yury Kossakovsky
e00e3586fb Add Kids Story Building System workflow
- Introduced a new workflow for generating children's stories using structured input and AI-driven prompts.
- The workflow includes various nodes for defining story elements, character creation, and story drafting.
- Integrated sticky notes for user guidance and instructions throughout the story creation process.
- Enhanced automation by allowing users to save generated stories directly to Google Drive, streamlining the storytelling experience.
2025-06-23 13:35:04 -06:00