docs: update paths to /opt/netbox/{tailscale,app}
This commit is contained in:
18
README.md
18
README.md
@@ -17,12 +17,12 @@ ALTER DATABASE netbox OWNER TO netbox;
|
|||||||
|
|
||||||
### Host Configuration
|
### Host Configuration
|
||||||
|
|
||||||
Download configuration files to `/opt/ts-netbox` (first time only):
|
Download configuration files to `/opt/netbox` (first time only):
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
sudo mkdir -p /opt/ts-netbox
|
sudo mkdir -p /opt/netbox/{tailscale,app}
|
||||||
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/netbox/tailscale/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 curl -o /opt/netbox/app/local_settings.py https://gitea.arnodo.fr/Damien/netbox-deployment/raw/branch/main/local_settings.py
|
||||||
```
|
```
|
||||||
|
|
||||||
### Generate Secret Key
|
### Generate Secret Key
|
||||||
@@ -50,3 +50,13 @@ Set `SKIP_SUPERUSER=true` to prevent superuser recreation on redeploy.
|
|||||||
## Access
|
## Access
|
||||||
|
|
||||||
Once deployed: https://netbox.taila5ad8.ts.net
|
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
|
||||||
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user