This is a Dockerfile for NetBox the open-source web based IPAM and DCIM tool, nitially conceived by the network engineering team at DigitalOcean. The image is based on debian with python 2.7 runs with nginx webserver as reverse-proxy and unicorn for the django app.
It will:
$ git clone https://github.com/KELLERSoftware/docker-netbox.git
$ cd docker-netbox
$ docker build -t netbox .
To run NetBox is easy if you have a database, start the image with docker and provide some variables.
docker run -d -p 80 --name netbox --link postgres:postgres -e DB_NAME=netbox -e DB_USER=netbox -e DB_PASSWORD=123456 -e DB_HOST=postgres -e SECRET_KEY=123456 -e ALLOWED_HOSTS=netbox.company.com kellersoftware/netbox
Then, access it via http://localhost or http://host-ip in a browser. Default login is admin/admin.
This repro is linked to Docker Hub and will be build automatically.
Here are some instructions to setup and run netbox with the databse.
NetBox requires a PostgreSQL database to store data. (Please note that MySQL is not supported, as NetBox leverages PostgreSQL's built-in network address types.) There is no database inside this Docker container and you have to create empty db with user: http://netbox.readthedocs.io/en/stable/installation/postgresql/#database-creation.
Content type
Image
Digest
Size
334 MB
Last updated
over 9 years ago
docker pull kellersoftware/netbox