GeezerVison is showing github.com — GitHub - mhdhaidarah/NetBox-Docker
Folders and files
| Name | Name | Last commit message | Last commit date |
|---|
| | | |
| | | |
| | | |
| | | |
| | | |
|
Repository files navigation
git clone https://github.com/mhdhaidarah/NetBox-Docker.git
cd NetBox-Docker
docker compose pull
Step 2 Create Super User for Web GUI
docker compose exec netbox /opt/netbox/netbox/manage.py createsuperuser
To make it start after reboot
docker update --restart=always netbox-docker-netbox-1
docker update --restart=always netbox-docker-netbox-worker-1
docker update --restart=always netbox-docker-postgres-1
docker update --restart=always netbox-docker-redis-1
docker update --restart=always netbox-docker-redis-cache-1
docker update --restart unless-stopped netbox-docker-netbox-worker-1 netbox-docker-netbox-1 netbox-docker-redis-1 netbox-docker-redis-cache-1 netbox-docker-postgres-1
sudo apt update && sudo apt install -y python3 python3-pip python3-venv python3-dev build-essential libssl-dev libffi-dev libsqlite3-dev wget curl git
git clone https://github.com/netbox-community/Device-Type-Library-Import.git
cd Device-Type-Library-Import
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
cp .env.example .env
Now Setup URL to the NetBox Server & Token the token can be generated from GUI Users and select V1
NETBOX_URL=https://192.168.0.100:8000
NETBOX_TOKEN=LE0GCreKBP0v3jbXauWLVqbmzKtH3BnhI1Z184TV
REPO_URL=https://github.com/netbox-community/devicetype-library.git
REPO_BRANCH=master
IGNORE_SSL_ERRORS=True
#REQUESTS_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt # you should enable this if you are running on a linux sys>
#SLUGS=c9300-48u isr4431 isr4331
Install Device Library Importer
git clone https://github.com/netbox-community/devicetype-library.git ~/Device-Type-Library-Import/repo
Select Vendors or download all
./nb-dt-import.py --vendors mikrotik,ubiquiti
About
No description, website, or topics provided.
Resources
Stars
7 stars
Watchers
0 watching
Forks