websyncplay (sha-ee308e2bac03)
Published 2026-11-17 01:02:42 +03:00 by bakatrouble
Installation
docker pull git.home.bakatrouble.me/bakatrouble/websyncplay:sha-ee308e2bac03sha256:fc388a47ca773814870606296e2df123a8b7e2e79e9906345192b5a6b54d99e5About this package
Watch any yt-dlp source in sync—or stream local files to everyone
Image layers
| # debian.sh --arch 'amd64' out/ 'bookworm' '@1791158400' |
| RUN /bin/sh -c groupadd --gid 1000 node && useradd --uid 1000 --gid node --shell /bin/bash --create-home node # buildkit |
| ENV NODE_VERSION=26.11.1 |
| RUN /bin/sh -c ARCH= OPENSSL_ARCH= && dpkgArch="$(dpkg --print-architecture)" && case "${dpkgArch##*-}" in amd64) ARCH='x64' OPENSSL_ARCH='linux-x86_64';; ppc64el) ARCH='ppc64le' OPENSSL_ARCH='linux-ppc64le';; arm64) ARCH='arm64' OPENSSL_ARCH='linux-aarch64';; *) echo "unsupported architecture"; exit 1 ;; esac && set -ex && apt-get update && apt-get install -y ca-certificates curl wget gnupg dirmngr xz-utils libatomic1 --no-install-recommends && rm -rf /var/lib/apt/lists/* && export GNUPGHOME="$(mktemp -d)" && for key in 5BE8A3F6C8A5C01D106C0AD820B1A390B168D356 DD792F5973C6DE52C432CBDAC77ABFA00DDBF2B7 CC68F5A3106FF448322E48ED27F5E38D5B0A215F 890C08DB8579162FEE0DF9DB8BEAB4DFCF555EF4 C82FA3AE1CBEDC6BE46B9360C43CEC45C17AB93C 108F52B48DB57BB0CC439B2997B01419BD92F80A 655F3B5C1FB3FA8D1A0CA6BDE4A7D232B936D2FD A363A499291CBBC940DD62E41F10027AF002F8B0 ; do { gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys "$key" && gpg --batch --fingerprint "$key"; } || { gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key" && gpg --batch --fingerprint "$key"; } ; done && curl -fsSLO --compressed "https://nodejs.org/dist/v$NODE_VERSION/node-v$NODE_VERSION-linux-$ARCH.tar.xz" && curl -fsSLO --compressed "https://nodejs.org/dist/v$NODE_VERSION/SHASUMS256.txt.asc" && gpg --batch --decrypt --output SHASUMS256.txt SHASUMS256.txt.asc && gpgconf --kill all && rm -rf "$GNUPGHOME" && grep " node-v$NODE_VERSION-linux-$ARCH.tar.xz\$" SHASUMS256.txt | sha256sum -c - && tar -xJf "node-v$NODE_VERSION-linux-$ARCH.tar.xz" -C /usr/local --strip-components=1 --no-same-owner && rm "node-v$NODE_VERSION-linux-$ARCH.tar.xz" SHASUMS256.txt.asc SHASUMS256.txt && find /usr/local/include/node/openssl/archs -mindepth 1 -maxdepth 1 ! -name "$OPENSSL_ARCH" -exec rm -rf {} \; && apt-mark auto '.*' > /dev/null && find /usr/local -type f -executable -exec ldd '{}' ';' | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); print so }' | sort -u | xargs -r dpkg-query --search | cut -d: -f1 | sort -u | xargs -r apt-mark manual && apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false && ln -s /usr/local/bin/node /usr/local/bin/nodejs && node --version && npm --version && rm -rf /tmp/* # buildkit |
| COPY docker-entrypoint.sh /usr/local/bin/ # buildkit |
| ENTRYPOINT ["docker-entrypoint.sh"] |
| CMD ["node"] |
| WORKDIR /app |
| ARG TARGETARCH=amd64 |
| ARG YTDLP_VERSION=2026.10.26 |
| ARG APP_VERSION=3.0.4 |
| ARG APP_GIT_SHA=ee308e2bac038d1c09f92078b68fe07f367cdccd |
| LABEL org.opencontainers.image.title=Web-SyncPlay org.opencontainers.image.description=Watch any yt-dlp source in sync—or stream local files to everyone org.opencontainers.image.url=https://web-syncplay.de org.opencontainers.image.documentation=https://github.com/Web-SyncPlay/Web-SyncPlay#readme org.opencontainers.image.source=https://github.com/Yasamato/Web-SyncPlay org.opencontainers.image.licenses=MIT org.opencontainers.image.authors=Yasamato <https://github.com/Yasamato> |
| ENV NEXT_TELEMETRY_DISABLED=1 NODE_ENV=production HOSTNAME=0.0.0.0 PORT=3000 VALKEY_URL=redis://valkey:6379 YTDLP_BIN=yt-dlp YTDLP_MAX_CONCURRENT=2 YTDLP_TIMEOUT_MS=30000 YTDLP_VERSION=2026.10.26 APP_VERSION=3.0.4 APP_GIT_SHA=ee308e2bac038d1c09f92078b68fe07f367cdccd FALLBACK_DEFAULT_MEDIA_URL=https://youtu.be/uD4izuDMUQA ROOM_PARTICIPANTS_LIMIT=100 ROOM_ACTION_LOG_LIMIT=500 PROXY_ALLOW_PRIVATE_URLS=false |
| RUN |4 TARGETARCH=amd64 YTDLP_VERSION=2026.10.26 APP_VERSION=3.0.4 APP_GIT_SHA=ee308e2bac038d1c09f92078b68fe07f367cdccd /bin/sh -c apt-get update && apt-get install -y --no-install-recommends ca-certificates curl && case "$TARGETARCH" in amd64) YTDLP_ASSET=yt-dlp_linux ;; arm64) YTDLP_ASSET=yt-dlp_linux_aarch64 ;; *) echo "unsupported TARGETARCH=$TARGETARCH" >&2; exit 1 ;; esac && curl -fsSL -o /usr/local/bin/yt-dlp "https://github.com/yt-dlp/yt-dlp/releases/download/${YTDLP_VERSION}/${YTDLP_ASSET}" && chmod a+rx /usr/local/bin/yt-dlp && yt-dlp --version && apt-get purge -y curl && apt-get autoremove -y && rm -rf /var/lib/apt/lists/* # buildkit |
| COPY --chown=node:node /app/public ./public # buildkit |
| RUN |4 TARGETARCH=amd64 YTDLP_VERSION=2026.10.26 APP_VERSION=3.0.4 APP_GIT_SHA=ee308e2bac038d1c09f92078b68fe07f367cdccd /bin/sh -c mkdir -p .next && chown node:node .next # buildkit |
| COPY --chown=node:node /app/.next/standalone ./ # buildkit |
| COPY --chown=node:node /app/.next/static ./.next/static # buildkit |
| COPY --chown=node:node /opt/runtime-deps/ws ./node_modules/ws # buildkit |
| RUN |4 TARGETARCH=amd64 YTDLP_VERSION=2026.10.26 APP_VERSION=3.0.4 APP_GIT_SHA=ee308e2bac038d1c09f92078b68fe07f367cdccd /bin/sh -c test -f node_modules/ws/package.json && node -e "require('ws')" # buildkit |
| COPY --chown=node:node /opt/runtime-deps/undici ./node_modules/undici # buildkit |
| RUN |4 TARGETARCH=amd64 YTDLP_VERSION=2026.10.26 APP_VERSION=3.0.4 APP_GIT_SHA=ee308e2bac038d1c09f92078b68fe07f367cdccd /bin/sh -c test -f node_modules/undici/package.json && node -e "require('undici')" # buildkit |
| COPY --chown=node:node /opt/mediasoup/node_modules/. ./node_modules/ # buildkit |
| RUN |4 TARGETARCH=amd64 YTDLP_VERSION=2026.10.26 APP_VERSION=3.0.4 APP_GIT_SHA=ee308e2bac038d1c09f92078b68fe07f367cdccd /bin/sh -c test -x node_modules/mediasoup/worker/out/Release/mediasoup-worker # buildkit |
| USER node |
| EXPOSE [3000/tcp] |
| EXPOSE [40000/udp] |
| HEALTHCHECK {Test:[CMD node -e fetch('http://127.0.0.1:3000/api/health').then((r)=>process.exit(r.ok?0:1)).catch(()=>process.exit(1))] Interval:30s Timeout:5s StartPeriod:25s StartInterval:0s Retries:3} |
| CMD ["node" "server.js"] |
Labels
| Key | Value |
|---|---|
| org.opencontainers.image.authors | Yasamato <https://github.com/Yasamato> |
| org.opencontainers.image.description | Watch any yt-dlp source in sync—or stream local files to everyone |
| org.opencontainers.image.documentation | https://github.com/Web-SyncPlay/Web-SyncPlay#readme |
| org.opencontainers.image.licenses | MIT |
| org.opencontainers.image.source | https://github.com/Yasamato/Web-SyncPlay |
| org.opencontainers.image.title | Web-SyncPlay |
| org.opencontainers.image.url | https://web-syncplay.de |
Details
2026-11-17 01:02:42 +03:00
Versions (12)
View all
Container
0
OCI / Docker
linux/amd64
Yasamato <https://github.com/Yasamato>
MIT
170 MiB
latest
2026-11-17
sha-a5aa9f871021
2026-11-17
sha-60a310b18964
2026-11-17
sha-ee308e2bac03
2026-11-17
sha-b207e15df08a
2026-11-17