Add Radarr Cloudron app packaging
- Add CloudronManifest.json with app configuration - Add Dockerfile for building Radarr image - Add start.sh script to launch Radarr - Add icon.png for app icon - Update README.md with installation and usage instructions
This commit is contained in:
19
CloudronManifest.json
Normal file
19
CloudronManifest.json
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
{
|
||||||
|
"id": "com.radarr.app",
|
||||||
|
"title": "Radarr",
|
||||||
|
"author": "Radarr",
|
||||||
|
"description": "Radarr is a movie collection manager for Usenet and BitTorrent users",
|
||||||
|
"tagline": "Movie organizer/manager for usenet and torrent users",
|
||||||
|
"version": "1.0.0",
|
||||||
|
"healthCheckPath": "/",
|
||||||
|
"httpPort": 7878,
|
||||||
|
"addons": {
|
||||||
|
"localstorage": {}
|
||||||
|
},
|
||||||
|
"manifestVersion": 2,
|
||||||
|
"website": "https://radarr.video/",
|
||||||
|
"contactEmail": "support@radarr.video",
|
||||||
|
"icon": "file://icon.png",
|
||||||
|
"tags": [ "media", "movies", "torrent", "usenet" ],
|
||||||
|
"mediaLinks": [ "https://raw.githubusercontent.com/Radarr/Radarr/develop/Logo/256.png" ]
|
||||||
|
}
|
||||||
17
Dockerfile
Normal file
17
Dockerfile
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
FROM --platform=amd64 cloudron/base:4.2.0@sha256:46da2fffb36353ef714f97ae8e962bd2c212ca091108d768ba473078319a47f4
|
||||||
|
|
||||||
|
RUN apt-get update -y && \
|
||||||
|
apt install -y curl sqlite3 dpkg wget
|
||||||
|
|
||||||
|
RUN mkdir -p /app/code/radarr
|
||||||
|
WORKDIR /app/code
|
||||||
|
|
||||||
|
RUN wget --content-disposition "http://radarr.servarr.com/v1/update/master/updatefile?os=linux&runtime=netcore&arch=x64" && \
|
||||||
|
tar -xvzf Radarr*.linux*.tar.gz -C /app/code/radarr && \
|
||||||
|
rm -f Radarr*.linux*.tar.gz
|
||||||
|
|
||||||
|
COPY start.sh /app/code/
|
||||||
|
RUN chmod +x /app/code/start.sh && \
|
||||||
|
chown -R cloudron:cloudron /app/code/radarr
|
||||||
|
|
||||||
|
CMD [ "/app/code/start.sh" ]
|
||||||
55
README.md
55
README.md
@@ -1,3 +1,56 @@
|
|||||||
# cloudron-radarr
|
# cloudron-radarr
|
||||||
|
|
||||||
Movie organizer/manager for usenet and torrent users. Packaged for Cloudron
|
Radarr is a movie collection manager for Usenet and BitTorrent users. Packaged for Cloudron.
|
||||||
|
|
||||||
|
## Prerequisites
|
||||||
|
|
||||||
|
You need to install Cloudron CLI: [here](https://docs.cloudron.io/packaging/cli/).
|
||||||
|
After you need to connect the CLI to your cloudron instance.
|
||||||
|
|
||||||
|
## Building the Docker Image
|
||||||
|
|
||||||
|
To build the Docker image:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
docker build -t yourusername/cloudron-radarr:1.0.0 .
|
||||||
|
```
|
||||||
|
|
||||||
|
## Installing on Cloudron
|
||||||
|
|
||||||
|
To install the app on Cloudron, you need to be in this directory (so Cloudron CLI can read `CloudronManifest.json`):
|
||||||
|
|
||||||
|
```bash
|
||||||
|
cloudron install --image yourusername/cloudron-radarr:1.0.0
|
||||||
|
```
|
||||||
|
|
||||||
|
Or if you've pushed to a registry:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
cloudron install --image registry.example.com/yourusername/cloudron-radarr:1.0.0
|
||||||
|
```
|
||||||
|
|
||||||
|
## Cloudron Volumes
|
||||||
|
|
||||||
|
You will likely need to create volumes for:
|
||||||
|
- Download folder (for completed downloads)
|
||||||
|
- Movies library folder (for your movie collection)
|
||||||
|
|
||||||
|
Here is the guide to create cloudron volumes: [guide](https://docs.cloudron.io/volumes/#add).
|
||||||
|
|
||||||
|
**I recommend choosing "Filesystem" mount type when you create the volumes.**
|
||||||
|
|
||||||
|
⚠️ **You need to physically create the folder on host before, cloudron can't create one for you.**
|
||||||
|
|
||||||
|
To connect a volume to the app, go to the app's settings, then "storage" tab and "mount" options on the right panel.
|
||||||
|
|
||||||
|
## Configuration
|
||||||
|
|
||||||
|
Radarr will store its configuration in `/app/data/config/` which is automatically managed by Cloudron's localstorage addon.
|
||||||
|
|
||||||
|
## Updating
|
||||||
|
|
||||||
|
To update Radarr, rebuild the Docker image with a new version tag and update the app through Cloudron's interface or CLI.
|
||||||
|
|
||||||
|
## License
|
||||||
|
|
||||||
|
MIT License - see LICENSE file for details.
|
||||||
Reference in New Issue
Block a user