Modifications for Openshift
With these modifications the netbox containers can run on Openshift. The configuration files can be imported from a config map to the '/etc/netbox' directory and will be loaded from there.
This commit is contained in:
parent
9f1f858fcb
commit
f584a412eb
7 changed files with 180 additions and 156 deletions
|
@ -31,8 +31,10 @@ RUN wget -q -O - "${URL}" | tar xz \
|
|||
|
||||
WORKDIR /opt/netbox
|
||||
RUN pip install -r requirements.txt
|
||||
RUN pip install django_auth_ldap
|
||||
|
||||
COPY docker/configuration.docker.py /opt/netbox/netbox/netbox/configuration.py
|
||||
COPY docker/ldap_config.docker.py /opt/netbox/netbox/netbox/ldap_config.py
|
||||
COPY docker/gunicorn_config.py /opt/netbox/
|
||||
COPY docker/nginx.conf /etc/netbox-nginx/nginx.conf
|
||||
COPY docker/docker-entrypoint.sh docker-entrypoint.sh
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue