-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdmb-fastapi.xml
57 lines (57 loc) · 8.8 KB
/
dmb-fastapi.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<?xml version="1.0"?>
<Container version="2">
<Name>dmb-fastapi</Name>
<Repository>iampuid0/dmb:FastAPI</Repository>
<Registry>https://registry.hub.docker.com/r/iampuid0/dmb</Registry>
<Network>bridge</Network>
<Shell>sh</Shell>
<Privileged>false</Privileged>
<Support>https://discord.gg/8dqKUBtbp5</Support>
<Project>https://github.com/I-am-PUID-0/DMB</Project>
<Overview>NOTE THIS IS AN EXPERIMENTAL BRANCH OF DEBRID MEDIA BRIDGE--EVEN MORE SO THAN THE OTHER DMB BUILD--YOU HAVE BEEN MADE AWARE
Second Note: This dmb-fastapi xml template was put together by discord user Portgas D. Ace. This has been posted to my unRAID template GitHub repo with their permission (with some tweaks by me)
Third Note: If you need help or support, the number 1 best place to seek it is the discord channel linked in the support section of this template

This is just a quick template I threw together in order to try to help you other unRAID users to try out the FastAPI release. Massive thanks the DMB creator I-AM-PUID-0 as well as massive thanks to the devs of Riven &amp; Yowmamasita's Zurg.

I also thank Unlearned6688 for his UnRAID templates as it made this one easier for me to create.
https://github.com/Unlearned6688/unraid-templates/

DMB AIO wiki: https://github.com/I-am-PUID-0/DMB/wiki
FastAPI branch repository: https://github.com/I-am-PUID-0/DMB/tree/FastAPI

Links to source repositories for the underlying projects:

https://github.com/rivenmedia/riven
https://github.com/debridmediamanager/zurg-testing
https://rclone.org/docs/
https://www.postgresql.org/

As stated I threw this together in order to try to help out. I am no expert so don't harpoon me if something is less than perfect. If you have questions I'm in the discord @Portgas D. Ace</Overview>
<Category>MediaApp:Video MediaServer:Video</Category>
<WebUI>http://[IP]:[PORT:3000]</WebUI>
<Icon>https://github.com/I-am-PUID-0/DMB/assets/36779668/d0cbc785-2e09-41da-b226-924fdfcc1f21?raw=1</Icon>
<ExtraParams>-it --cap-add SYS_ADMIN --security-opt apparmor:unconfined</ExtraParams>
<Config Name="Timezone" Target="TZ" Default="" Mode="" Description="Enter your timezone. List here: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones" Type="Variable" Display="always" Required="true" Mask="false">America/New_York</Config>
<Config Name="rclone config directory" Target="/config" Default="/mnt/user/appdata/dmb-fastapi/config" Mode="rw" Description="Directory where your rclone config file will be stored." Type="Path" Display="always" Required="true" Mask="false">/mnt/user/appdata/dmb-fastapi/config</Config>
<Config Name="log directory" Target="/log" Default="/mnt/user/appdata/dmb-fastapi/log" Mode="rw" Description="Directory where your DMB logs will be found." Type="Path" Display="always" Required="true" Mask="false">/mnt/user/appdata/dmb-fastapi/log</Config>
<Config Name="Real-Debrid directory" Target="/zurg/RD" Default="/mnt/user/appdata/dmb-fastapi/zurg/RD" Mode="rw" Description="Directory for Real-Debrid config related files. These are used by the Zurg rclone mount of your Real-Debrid webDAV (read support documents for more info)" Type="Path" Display="always" Required="true" Mask="false">/mnt/user/appdata/dmb-fastapi/zurg/RD</Config>
<Config Name="Riven backend directory" Target="/riven/backend/data" Default="/mnt/user/appdata/dmb-fastapi/riven/data" Mode="rw" Description="Directory for the riven backend." Type="Path" Display="always" Required="true" Mask="false">/mnt/user/appdata/dmb-fastapi/riven/data</Config>
<Config Name="Zurg rclone mount -- ADD THIS DIRECTORY TO Plex/Jellyfin/Emby!" Target="/data" Default="/mnt/user/DMB/dmb-fastapi/zurg/mnt" Mode="rw,shared" Description="MUST BE 'Read/Write - Shared'!!! You must add the full host path above to your plex container. The container path in Plex can be named how you wish. DO NOT ADD THIS AS A LIBRARY! ONLY ADD THE PATH TO PLEX! THAT'S ALL!" Type="Path" Display="always" Required="true" Mask="false">/mnt/user/DMB/dmb-fastapi/zurg/mnt</Config>
<Config Name="Riven symlink mount directory -- ADD THIS DIRECTORY TO Plex/Jellyfin/Emby!" Target="/mnt" Default="/mnt/user/DMB/dmb-fastapi/riven/mnt" Mode="rw" Description="" Type="Path" Display="always" Required="true" Mask="false">/mnt/user/DMB/dmb-fastapi/riven/mnt</Config>
<Config Name="PostgresSQL/data directory" Target="/postgres_data" Default="/mnt/user/appdata/dmb-fastapi/postgres/data" Mode="rw" Description="Directory for the postgreSQL database files used with DMB." Type="Path" Display="always" Required="true" Mask="false">/mnt/user/appdata/dmb-fastapi/postgres/data</Config>
<Config Name="pgadmin/data directory" Target="/pgadmin/data" Default="/mnt/user/appdata/dmb-fastapi/pgadmin/data" Mode="rw" Description="pgAdmin is used to provide a GUI to explore databases in postgreSQL" Type="Path" Display="always" Required="true" Mask="false">/mnt/user/appdata/dmb-fastapi/pgadmin/data</Config>
<Config Name="Zilean/app/data directory" Target="/zilean/app/data" Default="/mnt/user/DMB/zilean/data" Mode="rw" Description="Zilean is a scraper used to find good quality cached media. Optional. Can be removed if not used." Type="Path" Display="always" Required="true" Mask="false">/mnt/user/DMB/zilean/data</Config>
<Config Name="DMB Log Level" Target="DMB_LOG_LEVEL" Default="DEBUG" Mode="" Description="Set this to DEBUG for extensive info for ex troubleshooting. Can be set to NOTICE for less info in the log." Type="Variable" Display="always" Required="false" Mask="false">DEBUG</Config>
<Config Name="RealDebrid API token:" Target="ZURG_INSTANCES_REALDEBRID_API_KEY" Default="YOUR-REALDEBRID-API-KEY-HERE" Mode="" Description="Enter your RealDebrid API token. Get it here: https://real-debrid.com/apitoken" Type="Variable" Display="always" Required="true" Mask="false">YOUR-REALDEBRID-API-KEY-HERE</Config>
<Config Name="ORIGIN (your machine/host IP)" Target="ORIGIN" Default="http://0.0.0.0:3000" Mode="" Description="Set to your machine/host IP ex. http://192.168.1.0:3000 else you'll get cross-site POST error" Type="Variable" Display="always" Required="true" Mask="false">http://YOUR-IP-ADDRESS:3000</Config>
<Config Name="GITHUB Token for private repo access:" Target="DMB_GITHUB_TOKEN" Default="YOUR-GITHUB-TOKEN-HERE" Mode="" Description="Enter your Github token for repo access. This is only relevant if you're a Yowmamasita patreon supporter and have access to the private Zurg repo otherwise remove variable." Type="Variable" Display="always" Required="false" Mask="false">YOUR-GITHUB-TOKEN-HERE</Config>
<Config Name="Specific Zurg repo" Target="ZURG_INSTANCES_REALDEBRID_REPO_NAME" Default="zurg" Mode="" Description="This specifies which branch of zurg to use. If you subscribe via Patreon, keep this set as zurg. If you don't subscribe, remove this variable." Type="Variable" Display="always" Required="false" Mask="false">zurg</Config>
<Config Name="Yes or No variable to use specific version" Target="ZURG_INSTANCES_REALDEBRID_RELEASE_VERSION_ENABLED" Default="true" Mode="" Description="Is Specific Zurg Version applied? If yes, then set to true. Can remove otherwise" Type="Variable" Display="always" Required="false" Mask="false">true</Config>
<Config Name="Specific Zurg Version" Target="ZURG_INSTANCES_REALDEBRID_RELEASE_VERSION" Default="2024.12.26.0027-nightly" Mode="" Description="2024.12.26.0027-nightly is the latest version for private Zurg repo. If non patreon supporter latest is: v0.9.3-final This is for pinning specific releases - You can remove this if you just want latest" Type="Variable" Display="always" Required="false" Mask="false">2024.12.26.0027-nightly</Config>
<Config Name="Access Host OS fuse" Target="/dev/fuse:/dev/fuse:rwm" Default="" Mode="" Description="has to be included otherwise fuser fails to mount." Type="Device" Display="advanced" Required="true" Mask="false">/dev/fuse:/dev/fuse:rwm</Config>
<Config Name="Riven webGUI port" Target="3000" Default="" Mode="tcp" Description="3000 by default" Type="Port" Display="advanced" Required="true" Mask="false">3000</Config>
<Config Name="DMB FRONTEND PORT" Target="3005" Default="" Mode="tcp" Description="Maybe not required. This port is used to access the new json editing functions in fastapi. Your webUI URL will be http://your-server-ip:3005" Type="Port" Display="advanced" Required="false" Mask="false">3005</Config>
<Config Name="PUID" Target="PUID" Default="99" Mode="" Description="set the system PID. unraid uses nobody:users (99:100). docker should match the OS if possible." Type="Variable" Display="advanced" Required="false" Mask="false">99</Config>
<Config Name="PGID" Target="PGID" Default="100" Mode="" Description="set the system PID. unraid uses nobody:users (99:100). docker should match the OS if possible." Type="Variable" Display="advanced" Required="false" Mask="false">100</Config>
</Container>