add jellyfin and cert-sorter
This commit is contained in:
parent
c300116753
commit
d4736af727
@ -1,5 +1,10 @@
|
|||||||
FROM ubuntu:24.04
|
FROM ubuntu:24.04
|
||||||
|
|
||||||
|
RUN apt update && \
|
||||||
|
apt install -y openssl && \
|
||||||
|
apt clean && \
|
||||||
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
RUN mkdir -p /app /etc/letsencrypt /dest/1000
|
RUN mkdir -p /app /etc/letsencrypt /dest/1000
|
||||||
|
|
||||||
COPY copy.sh /app/copy.sh
|
COPY copy.sh /app/copy.sh
|
||||||
|
@ -1,8 +1,11 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
rm -v /dest/1000/*.pem
|
rm -v /dest/1000/*.pem
|
||||||
|
rm -v /dest/1000/cert.p12
|
||||||
cp -v /etc/letsencrypt/live/adguard.balsillie.house-0002/privkey.pem /dest/1000/privkey.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/cert.pem /dest/1000/cert.pem
|
||||||
cp -v /etc/letsencrypt/live/adguard.balsillie.house-0002/fullchain.pem /dest/1000/fullchain.pem
|
cp -v /etc/letsencrypt/live/adguard.balsillie.house-0002/fullchain.pem /dest/1000/fullchain.pem
|
||||||
|
openssl pkcs12 -export -in /dest/1000/cert.pem -inkey /dest/1000/privkey.pem -out /dest/1000/cert.p12 -passout pass:
|
||||||
chown -v ubuntu:ubuntu /dest/1000/*.pem
|
chown -v ubuntu:ubuntu /dest/1000/*.pem
|
||||||
|
chown -v ubuntu:ubuntu /dest/1000/cert.p12
|
||||||
ls -lh /dest/1000
|
ls -lh /dest/1000
|
8
jellyfin/Dockerfile
Normal file
8
jellyfin/Dockerfile
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
FROM jellyfin/jellyfin:10
|
||||||
|
|
||||||
|
RUN useradd -u 1000 -U -M jellyfin
|
||||||
|
RUN chown jellyfin:jellyfin /cache /config
|
||||||
|
|
||||||
|
USER jellyfin
|
||||||
|
|
||||||
|
WORKDIR /config
|
@ -1,7 +1,7 @@
|
|||||||
myhostname = ${POSTFIX_HOST}
|
myhostname = ${POSTFIX_HOST}
|
||||||
mydomain = ${POSTFIX_DOMAIN}
|
mydomain = ${POSTFIX_DOMAIN}
|
||||||
myorigin = ${POSTFIX_DOMAIN}
|
myorigin = ${POSTFIX_DOMAIN}
|
||||||
mynetworks = 127.0.0.0/8 10.64.0.0/12 10.96.10.10/32 10.96.10.254/32
|
mynetworks = 127.0.0.0/8 10.64.0.0/12 10.96.10.10/32 10.96.10.254/32 10.96.30.10/32
|
||||||
mydestination = ${POSTFIX_HOST} localhost
|
mydestination = ${POSTFIX_HOST} localhost
|
||||||
|
|
||||||
biff = no
|
biff = no
|
||||||
|
Loading…
x
Reference in New Issue
Block a user