update config

This commit is contained in:
Jesús 2022-11-19 03:50:33 +08:00
parent a8e57e1365
commit f6739d6f91
No known key found for this signature in database
GPG Key ID: 7E68FEB76E35BF92
3 changed files with 5 additions and 2 deletions

View File

@ -30,6 +30,7 @@ CODEC_RANK_AV1=1
PREFER_UNI_SOURCES=True PREFER_UNI_SOURCES=True
USE_VIDEO_PLAYER=2 USE_VIDEO_PLAYER=2
USE_VIDEO_DOWNLOAD=0
PROXY_IMAGES=True PROXY_IMAGES=True
USE_COMMENTS_JS=True USE_COMMENTS_JS=True
USE_SPONSORBLOCK_JS=False USE_SPONSORBLOCK_JS=False

View File

@ -7,7 +7,7 @@ FROM base AS builder
ENV LANG C.UTF-8 ENV LANG C.UTF-8
ENV LC_ALL C.UTF-8 ENV LC_ALL C.UTF-8
RUN apk add --no-cache musl-dev build-base make gcc g++ libffi-dev git patch RUN apk update && apk upgrade && apk add --no-cache musl-dev build-base make gcc g++ libffi-dev git patch
ARG APP_DIR="/srv/app" ARG APP_DIR="/srv/app"
ARG YT_REPO="https://git.sr.ht/~heckyel/yt-local" ARG YT_REPO="https://git.sr.ht/~heckyel/yt-local"
@ -26,7 +26,7 @@ COPY 0001.patch "$APP_DIR/0001.patch"
RUN patch -Np1 -i "$APP_DIR/0001.patch" RUN patch -Np1 -i "$APP_DIR/0001.patch"
# clean # clean
RUN rm -f "$APP_DIR/0001.patch" RUN rm -f "$APP_DIR/0001.patch" && apk del git patch
# Runtime Environment Image # Runtime Environment Image
FROM base FROM base

View File

@ -64,6 +64,8 @@ prefer_uni_sources = ${PREFER_UNI_SOURCES:-True}
use_video_player = ${USE_VIDEO_PLAYER:-0} use_video_player = ${USE_VIDEO_PLAYER:-0}
use_video_download = ${USE_VIDEO_DOWNLOAD:-0}
proxy_images = ${PROXY_IMAGES:-True} proxy_images = ${PROXY_IMAGES:-True}
use_comments_js = ${USE_COMMENTS_JS:-True} use_comments_js = ${USE_COMMENTS_JS:-True}