docs: update paths to /opt/netbox/{tailscale,app}

This commit is contained in:
2026-01-07 15:26:51 +00:00
parent 345cec496a
commit c2f18484d6

View File

@@ -17,12 +17,12 @@ ALTER DATABASE netbox OWNER TO netbox;
### Host Configuration
Download configuration files to `/opt/ts-netbox` (first time only):
Download configuration files to `/opt/netbox` (first time only):
```bash
sudo mkdir -p /opt/ts-netbox
sudo curl -o /opt/ts-netbox/serve-config.json https://gitea.arnodo.fr/Damien/netbox-deployment/raw/branch/main/serve-config.json
sudo curl -o /opt/ts-netbox/local_settings.py https://gitea.arnodo.fr/Damien/netbox-deployment/raw/branch/main/local_settings.py
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/app/local_settings.py https://gitea.arnodo.fr/Damien/netbox-deployment/raw/branch/main/local_settings.py
```
### Generate Secret Key
@@ -50,3 +50,13 @@ Set `SKIP_SUPERUSER=true` to prevent superuser recreation on redeploy.
## Access
Once deployed: https://netbox.taila5ad8.ts.net
## Directory Structure
```
/opt/netbox/
├── tailscale/
│ └── serve-config.json # Tailscale HTTPS configuration
└── app/
└── local_settings.py # NetBox branching plugin configuration
```