Basic information
About netalertx-idempotent-setup
Reprovision and reset the devcontainer environment. Use this when asked to re-run startup, reprovision, setup devcontainer, fix permissions, or reset runtime state.
netalertx-idempotent-setup is an agent skill listed in the AddMCP.net directory, published by netalertx. Runtime: Python. License: GPL-3.0. The repository has 7,348 GitHub stars. Source code is hosted on github.com. Related topics: arp-scan, asset-management, dcim, ipam, network-analysis.
Overview
What is netalertx-idempotent-setup?
name: netalertx-idempotent-setup description: Reprovision and reset the devcontainer environment. Use this when asked to re-run startup, reprovision, setup devcontainer, fix permissions, or reset runtime state.
Devcontainer Setup
The setup script forcefully resets all runtime state. It is idempotent—every run wipes and recreates all relevant folders, symlinks, and files.
Command
/workspaces/NetAlertX/.devcontainer/scripts/setup.shWhat It Does
- Kills all services (php-fpm, nginx, crond, python3)
- Mounts tmpfs ramdisks for
/tmp/log,/tmp/api,/tmp/run,/tmp/nginx - Creates critical subdirectories
- Links
/entrypoint.dand/appsymlinks - Creates
/data,/data/config,/data/dbdirectories - Creates all log files
- Runs
/entrypoint.shto start services - Writes version to
.VERSION
When to Use
- After modifying setup scripts
- After container rebuild
- When environment is in broken state
- After database reset
Philosophy
No conditional logic. Everything is recreated unconditionally. If something doesn't work, run setup again. 31
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In