ajeeth / docker-netbox

docker image for dogitalocean netbox

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Netbox docker image

Docker image for NetBox.

Using docker-compose

  1. Create a copy of docker-compose.example.yml

  2. Adapt at least the following environment variables:

    • ALLOWED_HOSTS: accepts multiple hostnames separated using spaces
    • SECRET_KEY: required, should be randomly generated and 50 characters or more

    Optionally you can also change the database password by modifying POSTGRES_PASSWORD and DB_PASS.

  3. Create a new superuser using the following command:

    $ sudo docker-compose run --rm netbox createsuperuser
  4. Start the service stack:

    $ sudo docker-compose up -d

NetBox will be available under port 8000.

About

docker image for dogitalocean netbox

License:MIT License


Languages

Language:Dockerfile 57.4%Language:Shell 37.6%Language:Python 5.0%