| .devcontainer | ||
| configuration | ||
| docker | ||
| env | ||
| media-files | ||
| plugins | ||
| report-files | ||
| script-files | ||
| .env | ||
| .gitignore | ||
| docker-compose.override.yml | ||
| docker-compose.yml | ||
| Dockerfile | ||
| README.md | ||
NetBox Dev Container
This repository is made for developping plugins for NetBox via the usage of dev containers.
The development container contains Python with Poetry and NodeJS installed.
The root password is netbox.
It also contains some basic VSCode extensions for convenience.
An instance of a development server of NetBox will be run so that it hot reloads whenever you make a modification.
Plugins under the folder plugins will be automatically installed as editable inside the virtual env.
Warning
The first time you run the containers, it will take some time to run the migrations. You might want to increase the healthcheck interval for the netbox service inside the docker-compose.yml file.
Configure NetBox Version
You can set the version of NetBox inside the root .env.
Do not forget to run docker compose build whenever you change the version.
Configure NetBox
You can edit the configuration of NetBox inside the configuration folder.
Under this folder, you can also add modules to be installed inside the requirements.txt file.