Compare commits

..
Author SHA1 Message Date
Dark-Alex-17 f3ad44f7d7 Add a Readarr mock instance to the demo
Adds darkalex17/readarr-mock, built from ghcr.io/pennydreadful/bookshelf:softcover
(the maintained Readarr continuation; the LinuxServer image is discontinued and
its metadata endpoint no longer resolves). The captured config carries 6 authors,
327 books, 39 book files, 4 tags, 7 indexers, 193 history rows and one root
folder at /books, with minimal EPUBs under mock-htpc/books so the files show as
imported.

Prowlarr now registers Readarr as a synced application, so its config is
recaptured and the prowlarr-mock image must be rebuilt and pushed alongside.

The compose file, managarr config, justfile recipes and README gain the fourth
instance. The demo script needs no change; it fetches the compose file and
config from main at run time.

Requires a Managarr release with Readarr support, since the demo script runs
the published darkalex17/managarr image against these files.
2026-09-21 17:12:10 -06:00
Dark-Alex-17 e5fd6817e0 Removed forgotten volume mounts and port bindings in the docker-compose file 2026-01-21 15:02:01 -07:00
Dark-Alex-17 f9918cd5b3 Fixed typo in the justfile for pushing the prowlarr-mock image 2026-01-21 14:31:23 -07:00
Dark-Alex-17 f56813fd6e Updated docker-compose 2026-01-21 14:17:36 -07:00
Dark-Alex-17 52853c6fd6 Renamed services to *-mock 2026-01-21 13:55:30 -07:00
Dark-Alex-17 48c7af9b83 fix: Added some mock Pink Floyd files 2026-01-21 11:29:27 -07:00
Dark-Alex-17 6512117aca feat: Created the Lidarr mock and added a justfile 2026-01-21 11:18:37 -07:00
7234 changed files with 739452 additions and 121603 deletions

No files matched your search

+38 -2
View File
@@ -3,6 +3,7 @@ A demo repository with a basic HTPC configuration for demonstration and testing
## One-Command Run
To clone the repo and run the demo all in one go, the following command will download the [managarr-demo](./managarr-demo.sh) script and run it:
```shell
curl https://raw.githubusercontent.com/Dark-Alex-17/managarr-demo/main/managarr-demo.sh > /tmp/managarr-demo.sh && bash /tmp/managarr-demo.sh
```
@@ -20,10 +21,45 @@ This demo has no download functionality. It is an eventual goal to have a mock A
to emulate this functionality for a full demo experience.
## Building
To build and push both the [prowlarr](./prowlarr.Dockerfile) and [radarr](./radarr.Dockerfile) images, it is easiest to just use the [build script](./build.sh):
This repo uses [just](https://github.com/casey/just) to manage build tasks.
To build any individual mock Servarr docker image or even all of them, you can use the `build` recipes in the [justfile](./justfile):
```shell
./build.sh
$ just --list
Available recipes:
...
[build]
build-all # Build all mock container images
build-lidarr # Build the Lidarr mock image
build-prowlarr # Build the Prowlarr mock image
build-radarr # Build the Radarr mock image
build-readarr # Build the Readarr mock image
build-sonarr # Build the Sonarr mock image
...
```
## Pushing
This repo uses [just](https://github.com/casey/just) to manage push tasks.
To push any individual mock Servarr docker image or even all of them, you can use the `push` recipes in the [justfile](./justfile):
```shell
$ just --list
Available recipes:
...
[push]
push-all # Push all mock container images
push-lidarr # Push the Lidarr mock image
push-prowlarr # Push the Prowlarr mock image
push-radarr # Push the Radarr mock image
push-readarr # Push the Readarr mock image
push-sonarr # Push the Sonarr mock image
...
```
## Running directly with docker compose
-9
View File
@@ -1,9 +0,0 @@
#!/bin/bash
docker build -f radarr.Dockerfile -t darkalex17/radarr-mock:latest .
docker push darkalex17/radarr-mock:latest
docker build -f sonarr.Dockerfile -t darkalex17/sonarr-mock:latest .
docker push darkalex17/sonarr-mock:latest
docker build -f prowlarr.Dockerfile -t darkalex17/prowlarr-mock:latest .
docker push darkalex17/prowlarr-mock:latest
+20 -6
View File
@@ -1,16 +1,26 @@
---
services:
radarr:
radarr-mock:
image: darkalex17/radarr-mock:latest
container_name: radarr-mock
restart: unless-stopped
sonarr:
sonarr-mock:
image: darkalex17/sonarr-mock:latest
container_name: sonarr-mock
restart: unless-stopped
prowlarr:
lidarr-mock:
image: darkalex17/lidarr-mock:latest
container_name: lidarr-mock
restart: unless-stopped
readarr-mock:
image: darkalex17/readarr-mock:latest
container_name: readarr-mock
restart: unless-stopped
prowlarr-mock:
image: darkalex17/prowlarr-mock:latest
container_name: prowlarr-mock
restart: unless-stopped
@@ -22,9 +32,13 @@ services:
volumes:
- "${MANAGARR_CONFIG:-./mock-htpc/managarr/config.yml}:/root/.config/managarr/config.yml:ro"
depends_on:
radarr:
radarr-mock:
condition: service_started
sonarr:
sonarr-mock:
condition: service_started
prowlarr:
lidarr-mock:
condition: service_started
readarr-mock:
condition: service_started
prowlarr-mock:
condition: service_started
+69
View File
@@ -0,0 +1,69 @@
VERSION := "latest"
REPO := "darkalex17"
# List all recipes
default:
@just --list
# Build the Radarr mock image
[group: 'build']
@build-radarr:
docker build -f radarr.Dockerfile -t {{REPO}}/radarr-mock:{{VERSION}} .
# Build the Sonarr mock image
[group: 'build']
@build-sonarr:
docker build -f sonarr.Dockerfile -t {{REPO}}/sonarr-mock:{{VERSION}} .
# Build the Lidarr mock image
[group: 'build']
@build-lidarr:
docker build -f lidarr.Dockerfile -t {{REPO}}/lidarr-mock:{{VERSION}} .
# Build the Readarr mock image
[group: 'build']
@build-readarr:
docker build -f readarr.Dockerfile -t {{REPO}}/readarr-mock:{{VERSION}} .
# Build the Prowlarr mock image
[group: 'build']
@build-prowlarr:
docker build -f prowlarr.Dockerfile -t {{REPO}}/prowlarr-mock:{{VERSION}} .
# Build all mock container images
[group: 'build']
@build-all: build-radarr build-sonarr build-lidarr build-readarr build-prowlarr
# Push the Radarr mock image
[group: 'push']
@push-radarr: build-radarr
docker push {{REPO}}/radarr-mock:{{VERSION}}
# Push the Sonarr mock image
[group: 'push']
@push-sonarr: build-sonarr
docker push {{REPO}}/sonarr-mock:{{VERSION}}
# Push the Lidarr mock image
[group: 'push']
@push-lidarr: build-lidarr
docker push {{REPO}}/lidarr-mock:{{VERSION}}
# Push the Readarr mock image
[group: 'push']
@push-readarr: build-readarr
docker push {{REPO}}/readarr-mock:{{VERSION}}
# Push the Prowlarr mock image
[group: 'push']
@push-prowlarr: build-prowlarr
docker push {{REPO}}/prowlarr-mock:{{VERSION}}
# Push all mock container images
[group: 'push']
@push-all: push-radarr push-sonarr push-lidarr push-readarr push-prowlarr
# Run the demo
[group: 'run']
@run-demo:
docker compose run --rm managarr
+8
View File
@@ -0,0 +1,8 @@
FROM lscr.io/linuxserver/lidarr:latest
ENV PUID=1000
ENV PGID=1000
ENV TZ=Etc/UTC
COPY ./mock-htpc/lidarr/ /config
COPY ./mock-htpc/music /music
Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 65 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 283 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 59 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 127 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 107 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 182 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 63 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 83 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 242 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 72 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 94 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 601 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 530 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 499 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 483 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 450 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 525 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 72 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 411 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 453 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 78 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 135 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 92 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 72 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 450 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 89 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 437 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 167 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 82 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 236 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 327 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 77 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 243 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 123 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 83 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 395 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 268 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 327 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 352 KiB

Loaded 100 of 7234 files, more files were not shown because too many files have changed in this diff. Show more