Commit Graph

273 Commits

Author SHA1 Message Date
Yury Kossakovsky
658b3a75eb Add additional environment variables for Postiz service in docker-compose.yml
- Introduced FRONTEND_URL, NEXT_PUBLIC_BACKEND_URL, BACKEND_INTERNAL_URL, MAIN_URL, and STORAGE_PROVIDER variables to enhance service configuration.
- These additions improve the flexibility and connectivity of the Postiz service within the Docker environment.
2025-08-19 14:30:24 -06:00
Yury Kossakovsky
f9b22d9631 Add Postiz configuration and environment variables
- Updated .env.example to include new environment variables for Postiz, including authentication and social media integration settings.
- Modified Caddyfile to implement basic authentication for the Postiz service.
- Enhanced docker-compose.yml to incorporate Postiz environment variables and ensure proper service configuration.
- Updated scripts to generate Postiz-related secrets and included them in the final report for user reference.
2025-08-19 14:25:07 -06:00
Yury Kossakovsky
155c0243c5 Add environment variables for Postiz service in docker-compose.yml
- Introduced DATABASE_URL, REDIS_URL, and JWT_SECRET environment variables to the Postiz service configuration.
- This enhancement improves the service's connectivity and security by ensuring necessary configurations are set for database and Redis access.
2025-08-19 14:12:25 -06:00
Yury Kossakovsky
d3facc8e74 Increase the number of options in the whiptail checklist for the service selection wizard to enhance user experience 2025-08-19 14:01:02 -06:00
Yury Kossakovsky
2f09c40b60 Add health check dependencies for Postiz service in docker-compose.yml
- Updated the Postiz service configuration to include health check dependencies for PostgreSQL and Redis, ensuring that these services are healthy before Postiz starts.
- This enhancement improves service reliability and startup order in the Docker environment.
2025-08-19 13:58:01 -06:00
Yury Kossakovsky
25ebc661b8 Add Postiz service integration and configuration
- Introduced Postiz as a new service in docker-compose.yml, including necessary environment variables and volume configurations.
- Updated Caddyfile to set up reverse proxy for Postiz.
- Enhanced README.md to document Postiz and its hostname for user reference.
- Modified scripts to include Postiz in the service selection wizard and final report for improved user guidance.
2025-08-19 13:54:50 -06:00
Yury Kossakovsky
512f919423 Add troubleshooting section to README.md for site loading issues
- Introduced a new section addressing common issues related to sites not loading after installation.
- Provided potential causes and solutions, including resource checks and minimal configuration testing to enhance user support and guidance.
2025-08-18 17:41:07 -06:00
Yury Kossakovsky
2ff14b5689 Add N8N_PAYLOAD_SIZE_MAX environment variable to n8n service in docker-compose.yml
- Introduced N8N_PAYLOAD_SIZE_MAX variable to configure the maximum payload size for the n8n service, enhancing data handling capabilities.
- This addition supports improved performance and stability in processing larger payloads.
2025-08-18 14:20:36 -06:00
Yury Kossakovsky
ff6c47267d Update n8n service configuration in docker-compose.yml
- Refactored environment variables for the n8n service, including the addition of EXECUTIONS_MODE, LANGCHAIN_API_KEY, and other settings for improved functionality.
- Ensured consistency in database configuration and enabled binary data mode with a TTL setting.
- Updated webhook URL and trust proxy settings for enhanced security and performance.
2025-08-18 10:27:43 -06:00
Yury Kossakovsky
d1b96e6176 Increase whiptail checklist options in service selection wizard for enhanced user experience 2025-08-15 16:36:25 -06:00
Yury Kossakovsky
7037b203bb Add Python Runner service and documentation
- Introduced a new internal utility service, python-runner, in docker-compose.yml to execute custom Python scripts within the Docker network.
- Added detailed documentation in n8n-installer-developer-guide.md and README.md on how to enable and use the python-runner service.
- Created main.py and requirements.txt files for user-defined Python code and dependencies.
- Updated scripts to include python-runner in the service selection wizard and final report for improved user guidance.
2025-08-15 16:35:13 -06:00
Yury Kossakovsky
7062697b96 Add RAGApp documentation and internal access details
- Updated README.md to include RAGApp as a new open-source tool for building Retrieval-Augmented Generation assistants.
- Enhanced final report script to display internal access information for RAGApp, improving user visibility and integration guidance.
2025-08-15 12:58:43 -06:00
Yury Kossakovsky
f4ad57dd15 Add RAGApp integration into configuration
- Updated .env.example to include RAGAPP_HOSTNAME, RAGAPP_USERNAME, and RAGAPP_PASSWORD for basic authentication.
- Modified Caddyfile to implement basic authentication for the RAGApp reverse proxy.
- Enhanced docker-compose.yml to add a new RAGApp service with necessary environment variables.
- Updated scripts to generate RAGApp credentials and include them in the setup wizard and final report.
- Documented RAGApp details in the final report for user visibility.
2025-08-15 12:45:16 -06: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