🐳 Docker Image of NetBox
This repository has been archived on 2025-03-20. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
Christoph Glaubitz 72726b2253 Added nginx.conf netbox image
Without it, the nginx container of the docker-compose.yml refuses to
start.
2017-05-09 10:12:36 +02:00
docker Checks if the superuser exists before creating it 2017-04-21 13:43:44 +02:00
docker-compose.yml Restructured docker-compose.yml 2017-04-21 13:46:15 +02:00
Dockerfile Added nginx.conf netbox image 2017-05-09 10:12:36 +02:00
netbox.env Restructured docker-compose.yml 2017-04-21 13:46:15 +02:00
README.md Copied Docker components from main repo 2017-04-19 10:48:21 -04:00

netbox-docker

This repository houses the components needed to build NetBox as a Docker container. It is a work in progress; please submit a bug report for any issues you encounter.

Quickstart

To get NetBox up and running:

# git clone -b master https://github.com/digitalocean/netbox-docker.git
# cd netbox
# docker-compose up -d

The application will be available on http://localhost/ after a few minutes.

Default credentials:

  • Username: admin
  • Password: admin

Configuration

You can configure the app at runtime using variables (see docker-compose.yml). Possible environment variables include:

  • SUPERUSER_NAME
  • SUPERUSER_EMAIL
  • SUPERUSER_PASSWORD
  • ALLOWED_HOSTS
  • DB_NAME
  • DB_USER
  • DB_PASSWORD
  • DB_HOST
  • DB_PORT
  • SECRET_KEY
  • EMAIL_SERVER
  • EMAIL_PORT
  • EMAIL_USERNAME
  • EMAIL_PASSWORD
  • EMAIL_TIMEOUT
  • EMAIL_FROM
  • LOGIN_REQUIRED
  • MAINTENANCE_MODE
  • NETBOX_USERNAME
  • NETBOX_PASSWORD
  • PAGINATE_COUNT
  • TIME_ZONE
  • DATE_FORMAT
  • SHORT_DATE_FORMAT
  • TIME_FORMAT
  • SHORT_TIME_FORMAT
  • DATETIME_FORMAT
  • SHORT_DATETIME_FORMAT