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:
Tobias Genannt 2018-02-22 11:58:36 +01:00
parent 9f1f858fcb
commit ef76e4e8ea
7 changed files with 170 additions and 157 deletions

View file

@ -9,6 +9,8 @@ services:
depends_on:
- postgres
env_file: netbox.env
volumes:
- ./configuration:/etc/netbox:ro
command:
- ./manage.py
- test