docs: update for single plugins.py config file
This commit is contained in:
@@ -13,6 +13,8 @@ CREATE DATABASE netbox;
|
|||||||
CREATE USER netbox WITH PASSWORD 'your-secure-password';
|
CREATE USER netbox WITH PASSWORD 'your-secure-password';
|
||||||
GRANT ALL PRIVILEGES ON DATABASE netbox TO netbox;
|
GRANT ALL PRIVILEGES ON DATABASE netbox TO netbox;
|
||||||
ALTER DATABASE netbox OWNER TO netbox;
|
ALTER DATABASE netbox OWNER TO netbox;
|
||||||
|
-- Required for netbox-branching plugin
|
||||||
|
GRANT CREATE ON DATABASE netbox TO netbox;
|
||||||
```
|
```
|
||||||
|
|
||||||
### Host Configuration
|
### Host Configuration
|
||||||
@@ -22,7 +24,6 @@ Download configuration files to `/opt/netbox` (first time only):
|
|||||||
```bash
|
```bash
|
||||||
sudo mkdir -p /opt/netbox/{tailscale,app}
|
sudo mkdir -p /opt/netbox/{tailscale,app}
|
||||||
sudo curl -o /opt/netbox/tailscale/serve-config.json https://gitea.arnodo.fr/Damien/netbox-deployment/raw/branch/main/serve-config.json
|
sudo curl -o /opt/netbox/tailscale/serve-config.json https://gitea.arnodo.fr/Damien/netbox-deployment/raw/branch/main/serve-config.json
|
||||||
sudo curl -o /opt/netbox/app/extra.py https://gitea.arnodo.fr/Damien/netbox-deployment/raw/branch/main/extra.py
|
|
||||||
sudo curl -o /opt/netbox/app/plugins.py https://gitea.arnodo.fr/Damien/netbox-deployment/raw/branch/main/plugins.py
|
sudo curl -o /opt/netbox/app/plugins.py https://gitea.arnodo.fr/Damien/netbox-deployment/raw/branch/main/plugins.py
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -59,6 +60,5 @@ Once deployed: https://netbox.taila5ad8.ts.net
|
|||||||
├── tailscale/
|
├── tailscale/
|
||||||
│ └── serve-config.json # Tailscale HTTPS configuration
|
│ └── serve-config.json # Tailscale HTTPS configuration
|
||||||
└── app/
|
└── app/
|
||||||
├── extra.py # Wraps DATABASES with DynamicSchemaDict
|
└── plugins.py # Plugins + DynamicSchemaDict config
|
||||||
└── plugins.py # Plugins activation and settings
|
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user