admin
d3db8ce4c0
fix: extract AIO to /opt/wallarm/ (setup.sh hardcodes this path)
...
setup.sh uses /opt/wallarm/ for env.list and all paths.
Extract once to base dir, each node registers with --force.
Simplified InstallNode to 4 steps: nginx → download → extract → setup.
2026-08-01 16:38:58 +00:00
admin
5a0cfe92e1
fix: flush log file, show last lines in error output
2026-08-01 16:34:48 +00:00
admin
b86d9d3604
fix: systemd unit starts per-instance NGINX before Wallarm services
2026-08-01 16:27:52 +00:00
admin
d8390eab2a
feat: per-instance NGINX — each node gets its own nginx binary and config
...
- Shared NGINX binary at /opt/wallarm/nginx/sbin/nginx (installed once)
- Each node gets /opt/wallarm/nodes/{name}/nginx/ with:
- sbin/nginx (copied from shared)
- conf/nginx.conf (per-instance, unique port + upstream)
- logs/ (per-instance access/error logs)
- setup.sh runs with --custom-ngx-build (uses our nginx)
2026-08-01 16:26:41 +00:00
admin
0a301fbd05
refactor: install NGINX under /opt/wallarm/nginx/
2026-08-01 16:23:24 +00:00
admin
0ac2fc82cf
fix: try all package managers for NGINX, clear error if all fail
2026-08-01 16:21:51 +00:00
admin
82a28c6101
fix: remove --host flag, --cloud and --host are mutually exclusive
2026-08-01 16:04:22 +00:00
admin
2e6eca019d
fix: use setup.sh batch mode with --batch --token --cloud
...
- Uses AIO installer's built-in batch mode instead of interactive prompts
- --batch --token TOKEN --cloud US|EU --host HOST for non-interactive install
- cloudFromHost() maps api.wallarm.com → EU, us1.api.wallarm.com → US
- No more stdin piping, proper CLI flags
2026-08-01 15:59:54 +00:00
admin
0ce12f4742
fix: use correct installer URL from storage.googleapis.com
...
Source: github.com/wallarm/ingress build/fetch-module.sh
URL: storage.googleapis.com/meganode_storage/6.13/wallarm-6.13.0.x86_64-glibc.sh
Preflight checks meganode_storage reachability instead of meganode.wallarm.com
2026-08-01 15:58:49 +00:00
admin
5923f684ec
fix: auto-install NGINX before Wallarm node setup
...
Wallarm node (native deployment) requires NGINX as a runtime
dependency. installNginx() runs apt-get install nginx if not
already present, before extracting/running the Wallarm installer.
Also fixed repo.wallarm.com → meganode.wallarm.com in preflight.
2026-08-01 15:53:02 +00:00
admin
5dc449b7af
Revert "refactor: move Go source into source/ directory"
...
This reverts commit 78e316af64 .
2026-08-01 15:33:35 +00:00
admin
78e316af64
refactor: move Go source into source/ directory
...
- source/cmd/wallarm/main.go — binary entrypoint
- source/internal/ — all packages
- source/go.mod, source/go.sum
- deploy.sh builds from source/ subdirectory
- Clean separation: source code vs deployment configs
2026-08-01 15:33:17 +00:00
admin
f5919b4c85
fix: extract Makeself archive with --noexec, then run setup.sh
...
- Uses Makeself --noexec --target to extract without running
- Then runs the embedded setup.sh with WALLARM_API_TOKEN and
WALLARM_API_HOST env vars
- Interactive prompts handled via stdin pipe
2026-08-01 15:25:44 +00:00
admin
b1c596ccf2
fix: use correct meganode.wallarm.com installer URL
...
- Updated from deprecated repo.wallarm.com to meganode.wallarm.com/6.12/
- Installer URL: wallarm-6.12.7.x86_64-glibc.sh
- Override with WALLARM_INSTALLER_URL env var
- Pipes token+region via stdin to skip interactive prompts
- Preflight checks meganode.wallarm.com reachability
2026-08-01 15:24:03 +00:00
admin
d0ad1c5243
fix: installer URL overridable, simplified deploy form
...
- WALLARM_INSTALLER_URL env var overrides the native node installer URL
- Address simplified: default IP 0.0.0.0, only ask for port
- Added upstream IP/port prompts
- Per-instance .env file saved to /opt/wallarm/{name}/.env
(allows resuming/reinstalling from saved state)
- Confirmation summary before deploying
2026-08-01 15:21:04 +00:00
admin
2db33343a8
feat: native and docker deployment packages + Makefile
...
- internal/native/ — systemd units, installer download, node install/remove/status
(ported from wallarm-native.sh)
- internal/docker/ — Docker engine install (apt/yum/apk), image load, container
deploy/remove/status (ported from wallarm-ct-deploy.sh)
- Makefile — cross-compile targets (linux-amd64, linux-arm64)
2026-08-01 13:55:28 +00:00