add cert-sorter, qbt and radarr containers
This commit is contained in:
		
							
								
								
									
										12
									
								
								cert-sorter/Dockerfile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								cert-sorter/Dockerfile
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,12 @@ | ||||
| FROM ubuntu:24.04 | ||||
|  | ||||
| RUN mkdir -p /app /etc/letsencrypt /dest/1000 | ||||
|  | ||||
| COPY copy.sh /app/copy.sh | ||||
|  | ||||
| RUN chmod +x /app/copy.sh | ||||
|  | ||||
| VOLUME /etc/letsencrypt | ||||
| VOLUME /dest/1000 | ||||
|  | ||||
| ENTRYPOINT ["/app/copy.sh"] | ||||
							
								
								
									
										8
									
								
								cert-sorter/copy.sh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								cert-sorter/copy.sh
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,8 @@ | ||||
| #!/bin/bash | ||||
|  | ||||
| rm -v /dest/1000/*.pem | ||||
| cp -v /etc/letsencrypt/live/adguard.balsillie.house-0002/privkey.pem /dest/1000/privkey.pem | ||||
| cp -v /etc/letsencrypt/live/adguard.balsillie.house-0002/cert.pem /dest/1000/cert.pem | ||||
| cp -v /etc/letsencrypt/live/adguard.balsillie.house-0002/fullchain.pem /dest/1000/fullchain.pem | ||||
| chown -v ubuntu:ubuntu /dest/1000/*.pem | ||||
| ls -lh /dest/1000 | ||||
| @@ -16,11 +16,12 @@ server { | ||||
|         root /usr/share/nginx/html; | ||||
|     } | ||||
|  | ||||
|     location /.well-known/host-meta { | ||||
|     location /.well-known/host-meta { # https://github.com/felx/mastodon-documentation/blob/master/Running-Mastodon/Serving_a_different_domain.md#configuring-domainorg | ||||
|         return 301 https://social.balsillie.net$request_uri; | ||||
|     } | ||||
|  | ||||
|     location /.well-known/webfinger { | ||||
|         add_header Access-Control-Allow-Origin '*'; # https://docs.joinmastodon.org/admin/config/#web_domain | ||||
|         return 301 https://social.balsillie.net$request_uri; | ||||
|     } | ||||
|  | ||||
|   | ||||
							
								
								
									
										23
									
								
								qbittorrent/Dockerfile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								qbittorrent/Dockerfile
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,23 @@ | ||||
| FROM ubuntu:24.04 | ||||
|  | ||||
| ENV QBITTORRENT_VERSION=5.0.3 | ||||
|  | ||||
| RUN echo "deb https://ppa.launchpadcontent.net/qbittorrent-team/qbittorrent-stable/ubuntu noble main" >> /etc/apt/sources.list.d/ubuntu.sources && \ | ||||
|     apt update && \ | ||||
|     apt install -y \ | ||||
|         qbittorrent-nox | ||||
|  | ||||
| RUN mkdir -p /config /media && \ | ||||
|     chmod 775 /config /media && \ | ||||
|     chown ubuntu:ubuntu /config /media | ||||
|  | ||||
| USER ubuntu | ||||
|  | ||||
| VOLUME /config | ||||
| VOLUME /media | ||||
| WORKDIR /config | ||||
|  | ||||
| ENTRYPOINT [ "/usr/bin/qbittorrent-nox" ] | ||||
| CMD [ "--profile=/config" ] | ||||
|  | ||||
|  | ||||
							
								
								
									
										42
									
								
								radarr/Dockerfile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										42
									
								
								radarr/Dockerfile
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,42 @@ | ||||
| ARG RADARR_VERSION=5.17.2.9580 | ||||
|  | ||||
| FROM ubuntu:24.04 AS base | ||||
|  | ||||
| RUN apt update && \ | ||||
|     apt install -y \ | ||||
|         curl \ | ||||
|         sqlite3 \ | ||||
|         libicu-dev && \ | ||||
|     apt clean && \ | ||||
|     rm -rf /var/lib/apt/lists/* | ||||
|  | ||||
| FROM base AS download | ||||
| ARG RADARR_VERSION | ||||
|  | ||||
| RUN mkdir /download /radarr | ||||
|  | ||||
| WORKDIR /download | ||||
|  | ||||
| RUN curl -OL https://github.com/Radarr/Radarr/releases/download/v${RADARR_VERSION}/Radarr.master.${RADARR_VERSION}.linux-core-x64.tar.gz && \ | ||||
|     tar -xzvf /download/Radarr.master.${RADARR_VERSION}.linux-core-x64.tar.gz -C /radarr | ||||
|  | ||||
| FROM base | ||||
|  | ||||
| RUN mkdir -p /opt /cert /media /config && \ | ||||
|     chown ubuntu:ubuntu /cert /media /config | ||||
|  | ||||
| VOLUME /cert | ||||
| VOLUME /config | ||||
| VOLUME /media | ||||
|  | ||||
| COPY --from=download /radarr/Radarr /opt/radarr | ||||
|  | ||||
| USER ubuntu | ||||
|  | ||||
| WORKDIR /config | ||||
|  | ||||
| ENTRYPOINT ["/opt/radarr/Radarr"] | ||||
| CMD ["-nobrowser", "-data=/config"] | ||||
|  | ||||
|  | ||||
|  | ||||
		Reference in New Issue
	
	Block a user