From 6d646e3f5ec3cb7c3a0cf99e2cdde8bf135c7e83 Mon Sep 17 00:00:00 2001 From: Stephen Shaw Date: Sat, 25 Apr 2026 02:35:32 -0600 Subject: [PATCH] configurator: add UGREEN NAS platform preset MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Adds UGREEN (UGOS Pro / Container Manager) to the platform dropdown with Synology-style /volume1/... defaults. Defaults: - roon: /volume1/docker/roon (matches the Marius Hosting / community Docker convention used across UGREEN guides) - music: /volume1/Music (capital M — the auto-created share UGOS Pro ships with by default; paths are case-sensitive) - backup: /volume1/roon-backups (mirrors the Synology default; UGREEN community has no standard backup convention) rootPattern is `^/volume` (rather than `^/volume\d+/`) so /volumeUSB1/... external-drive paths don't trigger a false-positive warning. Hint calls out the network_mode: host requirement since bridged mode breaks Roon's mDNS/SSDP discovery — the most common UGREEN-specific support topic in the Roon Community. No userOverride: UGREEN Container Manager honors the image's default user, unlike TrueNAS Apps' UID 568 default. Position in index.json: between truenas and linux, so existing platform ordering is preserved. Closes #16. --- configurator/e2e/configurator.spec.ts | 2 +- configurator/public/platforms/index.json | 2 +- configurator/public/platforms/ugreen.json | 10 ++++++++++ 3 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 configurator/public/platforms/ugreen.json diff --git a/configurator/e2e/configurator.spec.ts b/configurator/e2e/configurator.spec.ts index e1510d0..a56eda9 100644 --- a/configurator/e2e/configurator.spec.ts +++ b/configurator/e2e/configurator.spec.ts @@ -31,7 +31,7 @@ test.describe('Initial state', () => { const values = await page .locator('#platform-select option') .evaluateAll((els) => els.map((e) => (e as HTMLOptionElement).value)); - expect(values).toEqual(['qnap', 'synology', 'unraid', 'truenas', 'linux', 'custom']); + expect(values).toEqual(['qnap', 'synology', 'unraid', 'truenas', 'ugreen', 'linux', 'custom']); }); test('Copy and Download are enabled with no input errors', async ({ page }) => { diff --git a/configurator/public/platforms/index.json b/configurator/public/platforms/index.json index b7f9cfa..365e467 100644 --- a/configurator/public/platforms/index.json +++ b/configurator/public/platforms/index.json @@ -1 +1 @@ -["qnap", "synology", "unraid", "truenas", "linux", "custom"] +["qnap", "synology", "unraid", "truenas", "ugreen", "linux", "custom"] diff --git a/configurator/public/platforms/ugreen.json b/configurator/public/platforms/ugreen.json new file mode 100644 index 0000000..e5d7b05 --- /dev/null +++ b/configurator/public/platforms/ugreen.json @@ -0,0 +1,10 @@ +{ + "id": "ugreen", + "label": "UGREEN", + "roon": "/volume1/docker/roon", + "music": "/volume1/Music", + "backup": "/volume1/roon-backups", + "prefix": "/volume1/", + "hint": "Paths set for UGREEN UGOS Pro (Container Manager). The default Music share is /volume1/Music (capital M). Use Docker network mode 'host' — bridged breaks Roon discovery.", + "rootPattern": "^/volume" +}