Move config to /etc/netbox/config (Fixes #54)

With this the configuration is moved to /etc/netbox/config and the
default reports directory is set to /etc/netbox/reports. This enables
the user to mount reports from a config map or persistent volume in
OpenShift.
This commit is contained in:
Tobias Genannt 2018-04-03 09:02:19 +02:00 committed by Christian Mäder
parent 5b62a4c0ad
commit b46bd58e0a
No known key found for this signature in database
GPG key ID: 92FFD0A711F196BB
8 changed files with 11 additions and 11 deletions

View file

@ -6,4 +6,4 @@ FROM $DOCKER_ORG/$DOCKER_REPO:$FROM_TAG
RUN pip install django_auth_ldap
COPY docker/ldap_config.docker.py /opt/netbox/netbox/netbox/ldap_config.py
COPY configuration/ldap_config.py /etc/netbox/ldap_config.py
COPY configuration/ldap_config.py /etc/netbox/config/ldap_config.py