...
코드 블럭 |
---|
# cd /opt
# git clone -b release https://github.com/netbox-community/netbox-docker nb --depth=1
# cd /opt/nb
# cp docker-compose.override.yml.example docker-compose.override.yml
# cat docker-compose.override.yml
services:
netbox:
ports:
- "8000:8080"
environment:
CSRF_TRUSTED_ORIGINS: "http://netbox.mydomain.net https://netbox.mydomain.net"
...
# docker compose up -d
# docker compose exec netbox /opt/netbox/netbox/manage.py createsuperuser
Username: gdhong
Email address: gdhong@example.com
Password:
Password (again):
Superuser created successfully. |
...