Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 5 additions & 7 deletions docs/docs/runbooks/media-stack.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ lists the resources and volumes.
| Prowlarr | `http://10.10.50.20:9696` |
| qBittorrent | `http://10.10.50.20:8080` |
| SABnzbd | `http://10.10.50.20:8085` |
| Library share (SMB, read-only) | `smb://10.10.50.20/media` |
| Downloads share (SMB, read-only) | `smb://10.10.50.20/torrents` |
| Data share (SMB, read-only) | `smb://10.10.50.20/data` |
| Games share (SMB, writable) | `smb://10.10.50.20/games` |

The address and VLAN are canonical in the
Expand Down Expand Up @@ -91,13 +90,12 @@ any container.

## Copy files from the SMB shares

Three shares for the `media` account. Only `games` is writable, so a client
Two shares for the `media` account. Only `games` is writable, so a client
running untrusted software can damage the games folder but never movies or TV:

| Share | Path | Contents |
| --- | --- | --- |
| `media` | `/data/media` | The imported library: `games`, `movies`, `tv` |
| `torrents` | `/data/torrents` | qBittorrent downloads, including releases no app imported. Read-only so nothing can alter a file that is still seeding. |
| `data` | `/data` | Everything: the library (`media/games`, `media/movies`, `media/tv`, `media/youtube`), qBittorrent downloads under `torrents` (including releases no app imported), and Usenet downloads under `usenet`. Read-only, so nothing can alter a file that is still seeding. New folders appear without a share change. |
| `games` | `/data/media/games` | Writable: put rebuilt game files (for example NSPs extracted by a repack installer) back into the library. New files are `media`-owned, mode `0664`, so Gamarr can manage them. |

The password is in `GilmanLab/secrets` `services/media/smb.sops.yaml`; copy it
Expand All @@ -108,8 +106,8 @@ AWS_PROFILE=lab-admin sops decrypt --extract '["smb"]["password"]' \
~/code/glab/secrets/services/media/smb.sops.yaml | pbcopy
```

In Finder, **Go → Connect to Server** (`⌘K`), enter `smb://10.10.50.20/media`,
`smb://10.10.50.20/torrents`, or `smb://10.10.50.20/games`,
In Finder, **Go → Connect to Server** (`⌘K`), enter `smb://10.10.50.20/data`
or `smb://10.10.50.20/games`,
choose **Registered User**, name `media`, paste the password, and save it in
the keychain. To change the password, edit the secret and rerun
`just deliver-smb`.
Expand Down
6 changes: 3 additions & 3 deletions docs/docs/runbooks/windows-vm.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@ just remove-install-media
2. In the Windows App (Microsoft Remote Desktop) on macOS, add PC
`10.10.50.30`, user `josh`, and paste the password.

The media library (`\\10.10.50.20\media`) is mapped as drive `M:` and the
download area (`\\10.10.50.20\torrents`) as `T:`, both read-only, and the
writable games folder (`\\10.10.50.20\games`) as `G:`. All three reconnect at
All of `/data` on `media01` (`\\10.10.50.20\data`: library, torrents, Usenet)
is mapped read-only as drive `D:`, and the writable games folder
(`\\10.10.50.20\games`) as `G:`. Both reconnect at
every logon for `josh` and use the `media` account, whose
password from the media stack runbook is saved in Windows Credential Manager
(target
Expand Down
Loading