mirror of
https://github.com/netbox-community/netbox-docker.git
synced 2024-12-25 16:18:50 +01:00
b46bd58e0a
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.
10 lines
283 B
Docker
10 lines
283 B
Docker
ARG DOCKER_ORG=ninech
|
|
ARG DOCKER_REPO=netbox
|
|
ARG FROM_TAG=latest
|
|
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/config/ldap_config.py
|