Commit 68a5333d authored by Rohit Jain's avatar Rohit Jain
Browse files

Initial commit

parents
Pipeline #10 failed with stages
in 0 seconds
[0.0.1]
* Initial version
{
"id": "io.cloudron.lidarr",
"title": "Lidarr",
"author": "Rohit Jain",
"description": "file://DESCRIPTION.md",
"changelog": "file://CHANGELOG",
"tagline": "Smart Music loader for newsgroup and bittorrent users.",
"version": "0.1.0",
"httpPort": 8686,
"icon": "file://logo.png",
"addons": {
"localstorage": {},
"proxyAuth": {}
},
"manifestVersion": 2,
"tags": [
"music"
],
"mediaLinks": [
"https://lidarr.audio/img/slider/artistdetails.png",
"https://lidarr.audio/img/features/manualsearch.png",
"https://lidarr.audio/img/slider/posters.png"
],
"minBoxVersion": "6.0.0"
}
This is Lidarr app for music for cloudron.
\ No newline at end of file
FROM cloudron/base:2.0.0@sha256:f9fea80513aa7c92fe2e7bf3978b54c8ac5222f47a9a32a7f8833edf0eb5a4f4
MAINTAINER Rohit Jain <mail@rohitja.in>
# set version label
ARG LIDARR_VERSION
# set environment variables
ARG DEBIAN_FRONTEND="noninteractive"
ENV XDG_CONFIG_HOME="/config/xdg"
ENV LIDARR_BRANCH="develop"
# This is needed to get latest mono, which actually trusts letsencrypt certs.
# This really increases the image build time and size though.
RUN sudo apt install gpg ca-certificates && \
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF && \
echo "deb https://download.mono-project.com/repo/ubuntu stable-bionic main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list && \
apt-get update
# Need to update to .NET core
RUN \
echo "**** install packages ****" && \
apt-get update && \
apt-get install -y mono-complete && \
apt-get install -y --no-install-recommends \
jq libchromaprint-tools libicu-dev libicu60 libmediainfo0v5 sqlite3 && \
echo "**** install Lidarr ****" && \
mkdir -p /app/code/lidarr/bin && \
curl -o \
/tmp/lidarr.tar.gz -L \
"https://github.com/lidarr/Lidarr/releases/download/v0.7.2.1878/Lidarr.master.0.7.2.1878.linux.tar.gz" && \
tar ixzf \
/tmp/lidarr.tar.gz -C \
/app/code/lidarr/bin --strip-components=1 && \
rm -rf /app/code/lidarr/bin/Lidarr.Update /tmp/* /var/lib/apt/lists/* /var/tmp/* && \
echo "**** cleanup ****" && \
apt-get clean
# Get mono to trust people (in particular letsencrypt)
RUN mozroots --machine --import --sync --quiet
RUN curl https://letsencrypt.org/certs/lets-encrypt-r3.txt > /usr/local/share/ca-certificates/lets-encrypt-r3.crt
RUN curl https://letsencrypt.org/certs/lets-encrypt-e1.txt > /usr/local/share/ca-certificates/lets-encrypt-e1.crt
RUN curl https://letsencrypt.org/certs/isrgrootx1.txt > /usr/local/share/ca-certificates/isrgrootx1.crt
RUN curl https://letsencrypt.org/certs/isrg-root-x2.txt > /usr/local/share/ca-certificates/isrg-root-x2.crt
RUN update-ca-certificates
# ports and volumes
EXPOSE 8686
# add local files
COPY start.sh /app/code/
RUN chmod -R a+x /app/code
# Start install script
CMD [ "/app/code/start.sh" ]
This diff is collapsed.
# Radarr
Smart PVR for newsgroup and bittorrent users. https://lidarr.audio
Credits - Jonathan Dumont, from whom I copied the repo.
\ No newline at end of file
logo.png

13.8 KB

#!/bin/bash
set -eu
# Setting up SABnzbd data dir
mkdir -p /app/data/lidarr
chown -R cloudron:cloudron /app/data /tmp /run
echo "Starting Lidarr..."
/usr/local/bin/gosu cloudron:cloudron mono /app/code/lidarr/bin/Lidarr.exe -nobrowser -data=/app/data/lidarr
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment