Commit Graph

471 Commits

Author SHA1 Message Date
Yury Kossakovsky
f84a15e305 chore: make scripts executable 2025-12-12 18:39:02 -07:00
Yury Kossakovsky
bfc1e3671c refactor(welcome): simplify service cards and remove duplicates
- remove min-height from card headers for natural sizing
- remove duplicate postgres credentials from postgresus card
- consolidate python-runner info into single multiline note
- add spacing between credential rows and support for line breaks
2025-12-12 18:14:25 -07:00
Yury Kossakovsky
4c153bca58 refactor(welcome): reorganize service card layout
- move extra info from header to bottom section with credentials
- display links (docs, dashboard, admin, ui) as compact "Link" buttons
- move password toggle button to left of masked value
- add python runner mount/entry info to data generation
- remove redundant postgresus note
- reduce vertical spacing in bottom section
2025-12-12 18:00:46 -07:00
Yury Kossakovsky
f3c2754a85 style(wizard): unify whiptail theme to green-only supabase palette 2025-12-12 16:32:11 -07:00
Yury Kossakovsky
fb31ec292e feat: add n8n-compatible metadata to downloaded workflows 2025-12-12 16:14:02 -07:00
Yury Kossakovsky
d1137190ee feat: add script to download popular n8n workflow templates 2025-12-12 16:03:56 -07:00
Yury Kossakovsky
e87555a152 feat(welcome): make service titles clickable to open docs 2025-12-12 16:03:51 -07:00
Yury Kossakovsky
4f6677bddc refactor(welcome): improve service cards with brand colors and docs links
- add official brand colors for all services
- add documentation urls with clickable icons
- fix responsive layout on mobile devices
- deduplicate quick start steps for postgresus
- show internal urls in card header to avoid duplication
2025-12-12 15:44:09 -07:00
Yury Kossakovsky
0425c61d89 chore: update default compose profiles 2025-12-12 14:19:18 -07:00
Yury Kossakovsky
5fd292c506 chore(deps): remove unused system packages 2025-12-12 14:03:49 -07:00
Yury Kossakovsky
81b8eb3352 fix(n8n): add versionId to workflow json files for v2 compatibility 2025-12-12 13:55:55 -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
7d922c4e67 refactor(welcome): simplify hover effects and remove unused code
remove glow effects in favor of simple border/background hover states,
delete unused showError function, error-toast element, and css variables
2025-12-12 12:59:32 -07:00
Yury Kossakovsky
1f3b4de3ef feat: improve welcome page with animations and alphabetical sorting 2025-12-12 11:50:16 -07:00
Yury Kossakovsky
c58b759135 refactor: unify logging and remove emoji in configure script 2025-12-12 10:20:56 -07:00
Yury Kossakovsky
0b0bcbdc80 style: add blank line before all log output 2025-12-12 10:14:27 -07:00
Yury Kossakovsky
b62eefa4da refactor: simplify wizard and improve docker compose startup
- remove quick start mode from wizard, always show service selection
- add --wait flag to docker compose up for proper sequencing
- remove hardcoded time.sleep delays in favor of --wait
- clean up unused imports
2025-12-12 10:10:59 -07:00
Yury Kossakovsky
7645c02562 fix: ensure_file_exists returns 0 when file exists 2025-12-12 10:02:54 -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
e297ff27ef feat: improve welcome page ux and remove beta/stable switch commands
- add click-to-toggle password visibility (replaces hold-to-reveal)
- add copy button for username fields
- add "keeping up to date" section with update commands
- remove switch-beta/switch-stable from commands list and docs
2025-12-12 08:47:34 -07:00
Yury Kossakovsky
323d0cb02c fix: improve welcome page ux and add dynamic quick start
- fix password reveal button not working (add preventDefault)
- update n8n and flowise to show "create account on first login"
- change redis internal info to combined host:port format
- add dynamic quick_start array based on active profiles
- rename "make commands" section to "useful commands"
2025-12-11 17:46:01 -07:00
Yury Kossakovsky
97b9cb1d05 feat: redesign welcome page with supabase-inspired theme
- fix json generation bug in generate_welcome_page.sh (missing commas)
- add supabase-style dark theme with green accents (#3ECF8E)
- add make commands section to welcome page
- move make commands from final report to welcome page
- make next steps conditional based on active profiles
- update poweredby to yury kossakovsky
- format generated json with proper indentation for readability
2025-12-11 17:28:59 -07:00
Yury Kossakovsky
366865ad4c feat: add welcome page dashboard for post-install credentials
replace terminal-based final report with web-based welcome page that
displays service credentials, hostnames, and quick start guide.

- add welcome/index.html with tailwind css and dark mode support
- add welcome/app.js with service metadata and password toggle/copy
- add scripts/generate_welcome_page.sh to generate data.json from env
- simplify 07_final_report.sh to show welcome page url and make commands
- add welcome page basic auth credentials to caddy and secret generation
- update add-new-service documentation with new welcome page steps
2025-12-11 17:09:42 -07:00
Yury Kossakovsky
ab4ab149ad feat: add system improvements - doctor diagnostics, update preview, and wizard service groups
- add make doctor command for system diagnostics (dns, ssl, containers, disk, memory)
- add make update-preview for dry-run update checks without applying changes
- add service groups to wizard with quick start pack (n8n + monitoring + postgresus + portainer)
- add make switch-beta and switch-stable commands for branch switching
- update readme with organized commands table
2025-12-11 16:44:39 -07:00
Yury Kossakovsky
ccfad96202 chore: remove unused files and tooling configurations
remove speckit cursor commands, specify templates/scripts,
flowise example json files, and n8n_pipe.py integration example
2025-12-11 15:20:04 -07:00
Yury Kossakovsky
f74e3af697 chore: use beta tag instead of fixed version for develop branch 2025-12-11 14:17:08 -07:00
Yury Kossakovsky
5a786f9a15 chore: bump n8n version to 2.0.1 2025-12-11 14:15:58 -07:00
Yury Kossakovsky
5d03eb1715 docs: document ffmpeg availability in n8n docker image 2025-12-11 13:58:04 -07:00
Yury Kossakovsky
9c3bb203d0 feat: add generic_timezone env variable for n8n services 2025-12-11 11:39:01 -07:00
Yury Kossakovsky
ed29d0ecfd fix: auto-update n8n_version in .env on branch switch 2025-12-11 11:39:01 -07:00
Yury Kossakovsky
1cee375467 feat: add makefile for common project commands 2025-12-11 11:39:01 -07:00
Yury Kossakovsky
9d05a80a18 fix: add NODE_PATH for pnpm-installed modules in runner 2025-12-11 11:39:01 -07:00
Yury Kossakovsky
ef4e801b4f fix: use correct task-runners.json format from n8nio/runners 2025-12-11 11:39:01 -07:00
Yury Kossakovsky
e284e5a129 fix: use correct user 'runner' in Dockerfile.runner 2025-12-11 11:39:01 -07:00
Yury Kossakovsky
da7d3ba5b3 fix: use pnpm and task-runners.json for runner npm packages
n8nio/runners image uses pnpm, not npm. configure allowed modules
via n8n-task-runners.json instead of environment variables.

- switch from npm to pnpm in Dockerfile.runner
- add n8n-task-runners.json for module allowlist config
- remove redundant env vars from docker-compose.yml
- update documentation to reflect new config location
2025-12-11 11:39:01 -07:00
Yury Kossakovsky
27a794e7eb fix: install npm packages in task runner for code node support
n8n v2.0 executes code nodes in a separate task runner container.
the runner image (n8nio/runners) doesn't include npm packages like
cheerio, axios, moment, lodash - causing "module is disallowed" errors.

- add Dockerfile.runner with npm packages for code nodes
- rename Dockerfile to Dockerfile.n8n for clarity
- update docker-compose.yml to use custom runner build
2025-12-11 11:39:01 -07:00
Yury Kossakovsky
5dc994eec6 revert: restore -p localai to preserve user data volumes
switching project name from 'localai' to directory-based naming would
cause users to lose all data stored in docker volumes (workflows,
databases, configs) since volumes are prefixed with project name
2025-12-11 11:39:01 -07:00
Yury Kossakovsky
5bf2d4cf31 fix: clean up legacy 'localai' project containers on startup
project was renamed from 'localai' to 'n8n-installer', leaving orphan
containers that cause name conflicts during deployment
2025-12-11 11:39:01 -07:00
Yury Kossakovsky
ef68937d4b fix: add --remove-orphans to main compose up command
prevents container name conflicts when switching profiles by cleaning
up orphaned containers from deactivated services
2025-12-11 11:39:01 -07:00
Yury Kossakovsky
2e81c991e2 fix: add --remove-orphans flag and explicit container names
prevents container name conflicts during restarts by automatically
cleaning up orphaned containers and ensuring langfuse services have
explicit names
2025-12-11 11:39:01 -07:00
Yury Kossakovsky
ee236471a5 fix: add explicit container names for n8n workers and runners 2025-12-11 11:39:01 -07:00
Yury Kossakovsky
e608c4705d refactor: remove hardcoded project name from docker compose commands 2025-12-11 11:39:01 -07:00
Yury Kossakovsky
9088a54540 fix: remove container_name to prevent duplicate containers 2025-12-11 11:39:01 -07:00
Yury Kossakovsky
35ca31d1af fix: address n8n v2.0 migration review issues
- fix quote parsing in N8N_WORKER_COUNT from .env
- remove unused N8N_RUNNER_COUNT references
- parameterize n8n version for both n8n and runner images
- add healthchecks to n8n main and worker services
2025-12-11 11:39:01 -07:00
Yury Kossakovsky
62089b0b4b docs: document worker-runner sidecar architecture
update CLAUDE.md with sidecar pattern details including dynamic
generation, network mode, and scaling instructions. add worker
count and architecture info to final installation report.
2025-12-11 11:39:01 -07:00
Yury Kossakovsky
11622a5d2d chore: update env example for worker-runner sidecar pattern
remove N8N_RUNNER_COUNT (now 1:1 with workers), add
OFFLOAD_MANUAL_EXECUTIONS_TO_WORKERS setting, clarify that
generate_n8n_workers.sh should be run after changing count.
2025-12-11 11:39:01 -07:00
Yury Kossakovsky
98f2dd807e refactor: integrate worker-runner generation into install/update flow
update configure services to call generate_n8n_workers.sh instead of
prompting for separate runner count. update start_services.py and
apply_update.sh to include docker-compose.n8n-workers.yml when present.
2025-12-11 11:39:01 -07:00
Yury Kossakovsky
d54eca620c feat: implement worker-runner sidecar pattern for n8n
replace replicated workers/runners with dynamically generated 1:1
worker-runner pairs where each runner connects to its worker via
localhost (network_mode: service). this improves task routing by
ensuring each worker has dedicated runner capacity.

add generate_n8n_workers.sh script to create docker-compose.n8n-workers.yml
2025-12-11 11:39:01 -07:00
Yury Kossakovsky
bcd2da2dfc fix: update task runner image to match n8n 2.0.0 stable 2025-12-11 11:39:01 -07:00
Yury Kossakovsky
0b7dbffe79 chore: update n8n Dockerfile to use stable version 2.0.0
Replaced the pre-release version 2.0.0-rc.4 with the stable release 2.0.0 in the Dockerfile for n8n.
2025-12-11 11:39:01 -07:00