Updated Initializers (markdown)

Ryan Merolle 2022-01-18 11:46:34 -05:00
parent e3b4bf0d96
commit f8b939fe01

@ -1,4 +1,4 @@
Initializers are built-in [startup scripts](Startup-Scripts) for defining Netbox custom fields, groups, users and many other resources in YAML files. Just edit the files in the `initializers` folder to get started. See below for a cleaner solution. Initializers are built-in [startup scripts](Startup-Scripts) for defining NetBox custom fields, groups, users and many other resources in YAML files. Just edit the files in the `initializers` folder to get started. See below for a cleaner solution.
Here's an example for defining a custom field: Here's an example for defining a custom field:
@ -27,7 +27,7 @@ See [startup scripts](Startup-Scripts) for how to build a Docker image baked wit
## Separate Initializers Folder ## Separate Initializers Folder
To reduce the chances of conflicts with your files when updating the Netbox Docker folder you are advised to create a separate `initializers` folder. To reduce the chances of conflicts with your files when updating the NetBox Docker folder you are advised to create a separate `initializers` folder.
Begin by making a copy of the existing folder. Then edit (or create) your `docker-compose.override.yml` file. Edit the file and add/merge the following keys and value: Begin by making a copy of the existing folder. Then edit (or create) your `docker-compose.override.yml` file. Edit the file and add/merge the following keys and value: