mirror of
https://github.com/netbox-community/netbox-docker.git
synced 2025-06-10 12:06:42 +02:00
Initializers were moved to plugin
parent
18959e90d3
commit
856f49148c
4
Build.md
4
Build.md
@ -1,7 +1,7 @@
|
||||
This document describes two different intentions:
|
||||
|
||||
- *Extend the image*: Adjust the existing Docker image to the needs of your organization.
|
||||
This can reduce the number of environment variables you have to configure or you can ship a default configuration by embedding your _initializer_ yaml files.
|
||||
This can reduce the number of environment variables you have to configure.
|
||||
- *Build the image from scratch*: This is mostly useful to you when you work on `netbox-docker` itself.
|
||||
|
||||
## Which build do you need?
|
||||
@ -24,8 +24,6 @@ This usually works by using the `netboxcommunity/netbox` image as base image:
|
||||
FROM netboxcommunity/netbox:v2.6.6
|
||||
|
||||
COPY my_configuration.py /etc/netbox/config/configuration.py
|
||||
COPY my_startup_scripts/ /opt/netbox/startup_scripts/
|
||||
COPY my_initializers/ /opt/netbox/initializers/
|
||||
COPY my_reports/ /etc/netbox/reports/
|
||||
COPY my_scripts/ /etc/netbox/scripts
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user