Netbox
@taylor/netboxv2026.10.11.1
01README
Run a NetBox instance for development and testing with Docker Compose: NetBox, its background worker, PostgreSQL and Valkey from the netbox-docker images. Start generates the internal secrets on first run, waits for every service to be healthy, sets the superuser's password from a vault and, optionally, gives it a v2 API token from a vault. Also reports status and stops or removes the project, keeping the volumes unless asked.
02Behaviors
@taylor/netbox/instancev2026.10.11.1netbox_instance.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name? | string | Compose project name; also the prefix for its volumes (<name>-postgres, <name>-media, ...) |
| image? | string | NetBox image, used for both NetBox and its worker |
| port? | number | Host port for the NetBox web UI and API |
| bindAddress? | string | Host address to publish the port on; 0.0.0.0 exposes it to the network |
| adminUsername? | string | Superuser created on the first start |
| adminEmail? | string | Email address of the superuser |
| adminPassword | string | Superuser password, set on every start; use a vault expression |
| apiToken? | string | Optional v2 API token for the superuser, nbt_<12 letters/digits>.<40 letters/digits>; use a vault expression |
| dockerPath? | string | Docker CLI binary |
fn start(timeoutSeconds?: number)
Bring up NetBox, its worker, PostgreSQL and Valkey, wait until they are healthy, and set up the superuser and API token
| Argument | Type | Description |
|---|---|---|
| timeoutSeconds? | number | How long to wait for every service to be healthy; the first start runs database migrations |
fn status()
Report whether NetBox and each of its services is running
fn stop()
Stop every container, keeping them and their volumes
fn remove(deleteVolumes?: boolean)
Remove the containers and network; the volumes are kept unless deleteVolumes is set
| Argument | Type | Description |
|---|---|---|
| deleteVolumes? | boolean | Also delete the database, media, scripts, Redis and secrets volumes |
Resources
instance(infinite)— The NetBox compose project, where to reach it and its services' states
03Stats
A
93 / 100
Downloads
1
Archive size
28.3 KB
- Has README or module doc2/2earned
- README has a code example1/1earned
- README is substantive1/1earned
- Most symbols documented1/1earned
- No slow types (deprecated)1/1earned
- Dependencies pass trust audit2/2earned
- Has description1/1earned
- Platform support declared (or universal)2/2earned
- License1/2partial
no SPDX license declared
- Verified public repository2/2earned
Repository
https://github.com/taylorific/swampworksdeno-command1 accepted
Spawns a subprocess with Deno.Command().
- models/netbox_instance.ts:138 — runs the Docker CLI; argument lists are built in this file, see README What it runs
05Platforms
06Labels