diff --git a/Custom-Startup-Scripts.md b/Startup-Scripts.md similarity index 77% rename from Custom-Startup-Scripts.md rename to Startup-Scripts.md index a107846..4c1c7cb 100644 --- a/Custom-Startup-Scripts.md +++ b/Startup-Scripts.md @@ -31,4 +31,17 @@ The [wiki page "Initializers"](Initializers) explains how to use them. ## Disable Startup Scripts -The execution of the startup scripts can be prevented by setting the environment variable `SKIP_STARTUP_SCRIPTS` to `true`, e.g. in the file `env/netbox.env`. \ No newline at end of file +The execution of the startup scripts can be prevented by setting the environment variable `SKIP_STARTUP_SCRIPTS` to `true`, e.g. in the file `env/netbox.env`. + +## Custom Docker Image + +You can also build your own Netbox Docker image containing your own startup scripts, custom fields, users and groups +like this: + +```Dockerfile +ARG VERSION=latest +FROM netboxcommunity/netbox:$VERSION + +COPY startup_scripts/ /opt/netbox/startup_scripts/ +COPY initializers/ /opt/netbox/initializers/ +``` \ No newline at end of file