mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 09:02:15 -06:00
docker: add annotations
This commit is contained in:
parent
ddc0c899f8
commit
617321631a
|
@ -11,4 +11,11 @@ RUN apk --no-cache add \
|
||||||
|
|
||||||
COPY i/dist/copyparty-sfx.py ./
|
COPY i/dist/copyparty-sfx.py ./
|
||||||
WORKDIR /w
|
WORKDIR /w
|
||||||
|
EXPOSE 3923
|
||||||
ENTRYPOINT ["python3", "/z/copyparty-sfx.py", "-c", "/z/initcfg"]
|
ENTRYPOINT ["python3", "/z/copyparty-sfx.py", "-c", "/z/initcfg"]
|
||||||
|
|
||||||
|
LABEL org.opencontainers.image.url="https://github.com/9001/copyparty" \
|
||||||
|
org.opencontainers.image.source="https://github.com/9001/copyparty/tree/hovudstraum/scripts/docker" \
|
||||||
|
org.opencontainers.image.licenses="MIT" \
|
||||||
|
org.opencontainers.image.title="copyparty-ac" \
|
||||||
|
org.opencontainers.image.description="copyparty with Pillow and FFmpeg (image/audio/video thumbnails, audio transcoding, media tags)"
|
||||||
|
|
|
@ -26,4 +26,11 @@ RUN apk add -U \
|
||||||
|
|
||||||
COPY i/dist/copyparty-sfx.py ./
|
COPY i/dist/copyparty-sfx.py ./
|
||||||
WORKDIR /w
|
WORKDIR /w
|
||||||
|
EXPOSE 3923
|
||||||
ENTRYPOINT ["python3", "/z/copyparty-sfx.py", "-c", "/z/initcfg"]
|
ENTRYPOINT ["python3", "/z/copyparty-sfx.py", "-c", "/z/initcfg"]
|
||||||
|
|
||||||
|
LABEL org.opencontainers.image.url="https://github.com/9001/copyparty" \
|
||||||
|
org.opencontainers.image.source="https://github.com/9001/copyparty/tree/hovudstraum/scripts/docker" \
|
||||||
|
org.opencontainers.image.licenses="MIT" \
|
||||||
|
org.opencontainers.image.title="copyparty-dj" \
|
||||||
|
org.opencontainers.image.description="copyparty with all optional dependencies, including musical key / bpm detection"
|
||||||
|
|
|
@ -3,11 +3,18 @@ WORKDIR /z
|
||||||
|
|
||||||
RUN apk --no-cache add \
|
RUN apk --no-cache add \
|
||||||
wget \
|
wget \
|
||||||
py3-pillow \
|
py3-pillow py3-mutagen \
|
||||||
&& mkdir /cfg /w \
|
&& mkdir /cfg /w \
|
||||||
&& chmod 777 /cfg /w \
|
&& chmod 777 /cfg /w \
|
||||||
&& echo % /cfg > initcfg
|
&& echo % /cfg > initcfg
|
||||||
|
|
||||||
COPY i/dist/copyparty-sfx.py ./
|
COPY i/dist/copyparty-sfx.py ./
|
||||||
WORKDIR /w
|
WORKDIR /w
|
||||||
|
EXPOSE 3923
|
||||||
ENTRYPOINT ["python3", "/z/copyparty-sfx.py", "-c", "/z/initcfg"]
|
ENTRYPOINT ["python3", "/z/copyparty-sfx.py", "-c", "/z/initcfg"]
|
||||||
|
|
||||||
|
LABEL org.opencontainers.image.url="https://github.com/9001/copyparty" \
|
||||||
|
org.opencontainers.image.source="https://github.com/9001/copyparty/tree/hovudstraum/scripts/docker" \
|
||||||
|
org.opencontainers.image.licenses="MIT" \
|
||||||
|
org.opencontainers.image.title="copyparty-im" \
|
||||||
|
org.opencontainers.image.description="copyparty with Pillow and Mutagen (image thumbnails, media tags)"
|
||||||
|
|
|
@ -14,4 +14,11 @@ RUN apk --no-cache add \
|
||||||
|
|
||||||
COPY i/dist/copyparty-sfx.py ./
|
COPY i/dist/copyparty-sfx.py ./
|
||||||
WORKDIR /w
|
WORKDIR /w
|
||||||
|
EXPOSE 3923
|
||||||
ENTRYPOINT ["python3", "/z/copyparty-sfx.py", "-c", "/z/initcfg"]
|
ENTRYPOINT ["python3", "/z/copyparty-sfx.py", "-c", "/z/initcfg"]
|
||||||
|
|
||||||
|
LABEL org.opencontainers.image.url="https://github.com/9001/copyparty" \
|
||||||
|
org.opencontainers.image.source="https://github.com/9001/copyparty/tree/hovudstraum/scripts/docker" \
|
||||||
|
org.opencontainers.image.licenses="MIT" \
|
||||||
|
org.opencontainers.image.title="copyparty-iv" \
|
||||||
|
org.opencontainers.image.description="copyparty with Pillow, FFmpeg, libvips (image/audio/video thumbnails, audio transcoding, media tags)"
|
||||||
|
|
|
@ -9,4 +9,11 @@ RUN apk --no-cache add \
|
||||||
|
|
||||||
COPY i/dist/copyparty-sfx.py ./
|
COPY i/dist/copyparty-sfx.py ./
|
||||||
WORKDIR /w
|
WORKDIR /w
|
||||||
|
EXPOSE 3923
|
||||||
ENTRYPOINT ["python3", "/z/copyparty-sfx.py", "-c", "/z/initcfg"]
|
ENTRYPOINT ["python3", "/z/copyparty-sfx.py", "-c", "/z/initcfg"]
|
||||||
|
|
||||||
|
LABEL org.opencontainers.image.url="https://github.com/9001/copyparty" \
|
||||||
|
org.opencontainers.image.source="https://github.com/9001/copyparty/tree/hovudstraum/scripts/docker" \
|
||||||
|
org.opencontainers.image.licenses="MIT" \
|
||||||
|
org.opencontainers.image.title="copyparty-min" \
|
||||||
|
org.opencontainers.image.description="just copyparty, no thumbnails / media tags / audio transcoding"
|
||||||
|
|
|
@ -9,4 +9,11 @@ RUN apk --no-cache add python3 py3-pip \
|
||||||
&& echo % /cfg > initcfg
|
&& echo % /cfg > initcfg
|
||||||
|
|
||||||
WORKDIR /w
|
WORKDIR /w
|
||||||
|
EXPOSE 3923
|
||||||
ENTRYPOINT ["python3", "-m", "copyparty", "-c", "/z/initcfg"]
|
ENTRYPOINT ["python3", "-m", "copyparty", "-c", "/z/initcfg"]
|
||||||
|
|
||||||
|
LABEL org.opencontainers.image.url="https://github.com/9001/copyparty" \
|
||||||
|
org.opencontainers.image.source="https://github.com/9001/copyparty/tree/hovudstraum/scripts/docker" \
|
||||||
|
org.opencontainers.image.licenses="MIT" \
|
||||||
|
org.opencontainers.image.title="copyparty-min-pip" \
|
||||||
|
org.opencontainers.image.description="just copyparty, no thumbnails, no media tags, no audio transcoding"
|
||||||
|
|
|
@ -48,7 +48,7 @@ push:
|
||||||
clean:
|
clean:
|
||||||
-docker kill `docker ps -q`
|
-docker kill `docker ps -q`
|
||||||
-docker rm `docker ps -qa`
|
-docker rm `docker ps -qa`
|
||||||
-docker rmi `docker images -a | awk '/^<none>/{print$$3}'`
|
-docker rmi -f `docker images -a | awk '/<none>/{print$$3}'`
|
||||||
|
|
||||||
hclean:
|
hclean:
|
||||||
-docker kill `docker ps -q`
|
-docker kill `docker ps -q`
|
||||||
|
|
|
@ -33,8 +33,8 @@ the recommended way to configure copyparty inside a container is to mount a fold
|
||||||
with image size after installation and when gzipped
|
with image size after installation and when gzipped
|
||||||
|
|
||||||
* `min` (57 MiB, 20 gz) is just copyparty itself
|
* `min` (57 MiB, 20 gz) is just copyparty itself
|
||||||
* `im` (69 MiB, 24 gz) can create thumbnails using pillow (pics only)
|
* `im` (70 MiB, 25 gz) can thumbnail images with pillow, parse media files with mutagen
|
||||||
* `ac` (163 MiB, 56 gz) is `im` plus ffmpeg for video/audio thumbnails + audio transcoding
|
* `ac` (163 MiB, 56 gz) is `im` plus ffmpeg for video/audio thumbs + audio transcoding + better tags
|
||||||
* `iv` (211 MiB, 73 gz) is `ac` plus vips for faster heif / avic / jxl thumbnails
|
* `iv` (211 MiB, 73 gz) is `ac` plus vips for faster heif / avic / jxl thumbnails
|
||||||
* `dj` (309 MiB, 104 gz) is `iv` plus beatroot/keyfinder to detect musical keys and bpm
|
* `dj` (309 MiB, 104 gz) is `iv` plus beatroot/keyfinder to detect musical keys and bpm
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue