f
This commit is contained in:
@@ -14,6 +14,9 @@ Prerequisites
|
||||
- The Medios-Macina instance on each machine should run the `remote_storage_server.py`
|
||||
or a Hydrus client instance you want to expose.
|
||||
- The remote storage server requires Flask and Flask-CORS to run (install with: `pip install flask flask-cors`).
|
||||
|
||||
Auto-install behavior
|
||||
- When a `zerotier` section is present in `config.conf` **or** a `store=zerotier` instance is configured, the CLI will attempt to auto-install the required packages (`flask`, `flask-cors`, and `werkzeug`) on startup unless you disable it with `auto_install = false` in the `zerotier` config block. This mirrors the behavior for other optional features (e.g., Soulseek).
|
||||
- On your controller/management machine, authorize members via ZeroTier Central.
|
||||
|
||||
Configuration (conceptual)
|
||||
@@ -42,7 +45,7 @@ Add a `store=zerotier` block so the Store registry can create a ZeroTier store i
|
||||
|
||||
```ini
|
||||
[store=zerotier]
|
||||
my-remote = { "NAME": "my-remote", "NETWORK_ID": "8056c2e21c000001", "SERVICE": "remote", "PORT": 5000, "API_KEY": "myremotekey" }
|
||||
my-remote = { "NAME": "my-remote", "NETWORK_ID": "8056c2e21c000001", "SERVICE": "remote", "PORT": 999, "API_KEY": "myremotekey" }
|
||||
hydrus-remote = { "NAME": "hydrus-remote", "NETWORK_ID": "8056c2e21c000001", "SERVICE": "hydrus", "PORT": 45869, "API_KEY": "hydrus-access-key" }
|
||||
```
|
||||
|
||||
@@ -77,7 +80,7 @@ python .\scripts\zerotier_setup.py --upload 8056c2e21c000001 --file "C:\path\to\
|
||||
Or using curl directly against a discovered ZeroTier peer's IP:
|
||||
|
||||
```powershell
|
||||
curl -X POST -H "X-API-Key: myremotekey" -F "file=@/path/to/file.mp4" -F "tag=tag1" http://<zerotier-ip>:5000/files/upload
|
||||
curl -X POST -H "X-API-Key: myremotekey" -F "file=@/path/to/file.mp4" -F "tag=tag1" http://<zerotier-ip>:999/files/upload
|
||||
```
|
||||
|
||||
If you'd like I can:
|
||||
|
||||
Reference in New Issue
Block a user