Skip to content
Merged
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
18 changes: 18 additions & 0 deletions docs/docs/runbooks/media-stack.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +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` |

The address and VLAN are canonical in the
[address plan](../reference/networking/address-plan.md). Home clients reach
Expand Down Expand Up @@ -79,12 +80,29 @@ just plan # expect the VM and, on first deploy, both volumes
just apply
incus exec nas01:media01 -- cloud-init status --wait
just deliver-vpn ~/code/glab/secrets/services/media/vpn.sops.yaml
just deliver-smb ~/code/glab/secrets/services/media/smb.sops.yaml
```

The stack stays down until `deliver-vpn` installs `/etc/media/vpn.env`.
Docker waits for `/data` and `/srv/appdata` to be mounted before it starts
any container.

## Copy files from the library share

The `media` share exposes `/data/media` (`games`, `movies`, `tv`) read-only
over SMB for the `media` account. Its password is in `GilmanLab/secrets`
`services/media/smb.sops.yaml`; copy it to the clipboard with:

```bash
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`,
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`.

## Wire the apps

The first login on each app creates its admin account. qBittorrent prints a
Expand Down
Loading