98 lines
2.2 KiB
YAML
98 lines
2.2 KiB
YAML
---
|
|
netbox:
|
|
enabled: true
|
|
install_dir: '/usr/local/apps'
|
|
release_dir: '/usr/local/apps/releases'
|
|
archive_url: 'https://github.com/netbox-community/netbox/archive'
|
|
version: '2.6.0'
|
|
gunicorn:
|
|
bind_addr: '127.0.0.1'
|
|
bind_port: '8888'
|
|
run_user: 'www-data'
|
|
pkgs:
|
|
- "build-essential"
|
|
- "graphviz"
|
|
- "libffi-dev"
|
|
- "libjpeg-dev"
|
|
- "libpq-dev"
|
|
- "libssl-dev"
|
|
- "libxml2-dev"
|
|
- "libxslt1-dev"
|
|
- "python3"
|
|
- "python3-dev"
|
|
- "python3-pip"
|
|
- "python3-virtualenv"
|
|
- "virtualenv"
|
|
- "zlib1g-dev"
|
|
config:
|
|
allowed_hosts: "[ '127.0.0.1' ]"
|
|
database:
|
|
name: "netbox"
|
|
user:
|
|
password:
|
|
host: "localhost"
|
|
port:
|
|
conn_max_age: 300
|
|
secret_key: "azerty"
|
|
redis:
|
|
tasks:
|
|
host: "localhost"
|
|
port: 6379
|
|
password:
|
|
database: 0
|
|
cache_database: 1
|
|
default_timeout: 300
|
|
ssl: false
|
|
caching:
|
|
host: "localhost"
|
|
port: 6379
|
|
password:
|
|
database: 0
|
|
cache_database: 1
|
|
default_timeout: 300
|
|
ssl: false
|
|
admins:
|
|
- ['John Doe', 'jdoe@example.com']
|
|
- ['Bob Reptincel', 'breptincel@example.com']
|
|
banner_top: ""
|
|
banner_bottom: ""
|
|
banner_login: "NetBox"
|
|
base_path: ""
|
|
cache_timeout: 900
|
|
changelog_retention: 90
|
|
cors_origin_allow_all: false
|
|
cors_origin_whitelist: []
|
|
cors_origin_regex_whitelist: []
|
|
debug: false
|
|
email:
|
|
server: "localhost"
|
|
port: 25
|
|
username: username
|
|
password: password
|
|
timeout: 10
|
|
from_email: user@domain.com
|
|
enforce_global_unique: false
|
|
exempt_view_permissions: []
|
|
logging: {}
|
|
login_required: false
|
|
login_timeout: 3600
|
|
maintenance_mode: false
|
|
max_page_size: 1000
|
|
metrics_enabled: false
|
|
napalm_username: ''
|
|
napalm_password: ''
|
|
napalm_timeout: 30
|
|
napalm_args: {}
|
|
paginate_count: 50
|
|
prefer_ipv4: false
|
|
session_file_path: "/tmp"
|
|
session_cookie_age: 3600
|
|
time_zone: "UTC"
|
|
webhooks_enabled: false
|
|
date_format: "N j, Y"
|
|
short_date_format: "Y-m-d"
|
|
time_format: "g:i a"
|
|
short_time_format: "H:i:s"
|
|
datetime_format: "N j, Y g:i a"
|
|
short_datetime_format: "Y-m-d H:i"
|