A collection of enterprise-grade workflow automation scripts, self-hosted container deployment tools, and cloud integrations engineered by Roman Pindela. This repository spans n8n Docker & Sandbox infrastructure automation and Google Workspace (Google Apps Script) business process automation.
Automation/
├── n8n/ # Self-hosted n8n infrastructure & workflow tools
│ └── deploy-n8n-on-windows-docker-desktop/ # Automated WSL2 + WinGet Docker Desktop + n8n Sandbox deployment
│ ├── assets/ # Visual verification & execution screenshots
│ ├── deploy-n8n-on-windows-docker-desktop.ps1 # Main PowerShell deployment & update script
│ └── README.md # Technical documentation for deploy-n8n-on-windows-docker-desktop
├── Google Apps Script/ # Google Workspace & Cloud workflow automations
│ ├── Market Raport/ # Automated financial & crypto market reporting
│ ├── Migawka wydarzeń/ # AI-powered regional & global event digest
│ ├── Rejestr badań okresowych/ # Medical checkup tracking & Calendar reminders
│ └── Rejestr Płatności i przelewów/ # Automated invoice & bank transfer registry
└── README.md # Main repository documentation
- Script:
n8n/deploy-n8n-on-windows-docker-desktop/deploy-n8n-on-windows-docker-desktop.ps1 - Author: Roman Pindela (
roman.pindela@gmail.com) - Version: 1.3.0
- Description: Enterprise PowerShell automation script that provisions the WSL2 environment (
wsl.exe --update), downloads and installs Docker Desktop via WinGet into a dedicated SSD directory (c:\DANE\rpindela\SSD\Docker\), and provisions a self-hosted n8n instance with the complete official n8n AI Assistant Sandbox Stack via Docker Compose v2 (Install using Docker Compose / get.n8n.io).- WSL2 Environment Provisioning (
wsl.exe --update): Automatically verifies/enables Windows Subsystem for Linux & Virtual Machine Platform features, updates the WSL2 kernel viawsl.exe --update, and sets WSL 2 as default (wsl.exe --set-default-version 2). - Custom-Path Docker Desktop Installation: Configures Docker Desktop binaries, WSL2 virtual disk (
--wsl-default-data-root), and Windows container storage insidec:\DANE\rpindela\SSD\Docker\. - Official n8n + AI Assistant Sandbox Stack: Generates
compose.yml,.env(with cryptographically random 48-hex-character mTLS and API secrets), andsearxng-settings.ymlinc:\DANE\rpindela\SSD\Docker\n8n-stack\, deployingn8n,sandbox-certs,sandbox-api,sandbox-runner-1(privileged Docker-in-Docker),runners(External Task Runners), andsearxngwhile preserving then8n_datapersistent volume. - Detailed Progress Bars & File Upload Tracking: Displays detailed startup parameters and multi-stage
Write-Progressbars during WinGet download, Docker Engine startup, per-image layer pulls, and workflow.jsonfile transfers (-ImportWorkflowsPath). - Post-Install Tool Summary: Prints a concise reference guide after installation showing exact paths to all installed tools (
docker.exe,docker-compose.exe,Docker Desktop.exe, Compose stack files, WSL2 storage,n8n_datavolume, logs), live status of all Sandbox containers, and how to use them. - Standards Compliant: Interactive help on zero parameters (
-h/-Help), language-independent SID UAC auto-elevation (Polish & English Windows), input sanitization, and structured logging toC:\Logs\<DateTime>-deploy-n8n-on-windows-docker-desktop-<Computer>-<User>.logs.
- WSL2 Environment Provisioning (
- Quick Start:
# 1. Unblock the script after downloading from GitHub Unblock-File -Path .\n8n\deploy-n8n-on-windows-docker-desktop\deploy-n8n-on-windows-docker-desktop.ps1 # 2. Display interactive help & examples .\n8n\deploy-n8n-on-windows-docker-desktop\deploy-n8n-on-windows-docker-desktop.ps1 -h # 3. Install Docker Desktop to c:\DANE\rpindela\SSD\Docker\ and deploy n8n + Sandbox Stack .\n8n\deploy-n8n-on-windows-docker-desktop\deploy-n8n-on-windows-docker-desktop.ps1 -Deploy -OpenBrowser
- Market Raport — Tracks real-time prices across cryptocurrencies, equities, forex, commodities, and treasury yields using public APIs, archives rows in Google Sheets, and emails formatted HTML reports.
- Migawka wydarzeń — Automated event and news aggregation system integrating Google Sheets, Google Sites, and Gmail newsletters.
- Rejestr badań okresowych — Monitors periodic medical examination dates in Google Sheets and synchronizes reminders with Google Calendar.
- Rejestr Płatności i przelewów — Parses incoming payment emails, registers transactions in Google Sheets, and schedules payment deadlines in Google Calendar.
All PowerShell scripts in this repository adhere to strict quality and security standards:
- Unblock Downloaded Scripts:
Get-ChildItem -Path . -Filter *.ps1 -Recurse | Unblock-File
- Zero-Parameter Help Menu: Running any
.ps1script without parameters or with-h/-Helpdisplays full usage instructions without making system changes. - Language-Independent UAC Auto-Elevation: Administrator checks use Windows well-known SID
S-1-5-32-544(BuiltInAdministratorsSid), supporting both Polish (Administratorzy) and English (Administrators) OS locales. - Centralized Audit Logging: Execution logs are saved automatically to
C:\Logs\<DateTime>-<ScriptName>-<ComputerName>-<UserName>.logs.
- Author: Roman Pindela
- Email: roman.pindela@gmail.com
- GitHub: https://github.com/romanpindela
- License: MIT