add cert-sorter, qbt and radarr containers

This commit is contained in:
=
2025-01-12 00:04:19 -05:00
parent 6489d90b9f
commit 11bb2d519e
5 changed files with 87 additions and 1 deletions

12
cert-sorter/Dockerfile Normal file
View 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
View 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