1
0
Fork 0
mirror of https://github.com/sussy-code/smov.git synced 2024-12-29 16:07:40 +01:00

peer review feedback

This commit is contained in:
Christopher Dixon 2024-02-27 14:55:05 -05:00
parent 2cfa5acb35
commit d92a4de948
3 changed files with 21 additions and 38 deletions

View file

@ -9,20 +9,20 @@ COPY pnpm-lock.yaml ./
RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --frozen-lockfile RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --frozen-lockfile
ARG PWA_ENABLED="false" ARG PWA_ENABLED="false"
ARG GA_ID="" ARG GA_ID
ARG APP_DOMAIN="" ARG APP_DOMAIN
ARG OPENSEARCH_ENABLED="false" ARG OPENSEARCH_ENABLED="false"
ARG TMDB_READ_API_KEY="" ARG TMDB_READ_API_KEY
ARG CORS_PROXY_URL="" ARG CORS_PROXY_URL
ARG DMCA_EMAIL="" ARG DMCA_EMAIL
ARG NORMAL_ROUTER="false" ARG NORMAL_ROUTER="false"
ARG BACKEND_URL="" ARG BACKEND_URL
ARG HAS_ONBOARDING="false" ARG HAS_ONBOARDING="false"
ARG ONBOARDING_CHROME_EXTENSION_INSTALL_LINK="" ARG ONBOARDING_CHROME_EXTENSION_INSTALL_LINK
ARG ONBOARDING_PROXY_INSTALL_LINK="" ARG ONBOARDING_PROXY_INSTALL_LINK
ARG DISALLOWED_IDS="" ARG DISALLOWED_IDS
ARG CDN_REPLACEMENTS="" ARG CDN_REPLACEMENTS
ARG TURNSTILE_KEY="" ARG TURNSTILE_KEY
ENV VITE_PWA_ENABLED=${PWA_ENABLED} ENV VITE_PWA_ENABLED=${PWA_ENABLED}
ENV VITE_GA_ID=${GA_ID} ENV VITE_GA_ID=${GA_ID}

View file

@ -1,27 +0,0 @@
version: "3.8"
services:
movieweb:
image: ghcr.io/movie-web/movie-web:latest
ports:
- "3000:80"
restart: always
environment:
VITE_CORS_PROXY_URL: ${VITE_CORS_PROXY_URL}
VITE_TMDB_READ_API_KEY: ${VITE_TMDB_READ_API_KEY}
VITE_PWA_ENABLED: ${PWA_ENABLED}
VITE_GA_ID: ${GA_ID}
VITE_APP_DOMAIN: ${APP_DOMAIN}
VITE_OPENSEARCH_ENABLED: ${OPENSEARCH_ENABLED}
VITE_TMDB_READ_API_KEY: ${TMDB_READ_API_KEY}
VITE_CORS_PROXY_URL: ${CORS_PROXY_URL}
VITE_DMCA_EMAIL: ${DMCA_EMAIL}
VITE_NORMAL_ROUTER: ${NORMAL_ROUTER}
VITE_BACKEND_URL: ${BACKEND_URL}
VITE_HAS_ONBOARDING: ${HAS_ONBOARDING}
VITE_ONBOARDING_CHROME_EXTENSION_INSTALL_LINK: ${ONBOARDING_CHROME_EXTENSION_INSTALL_LINK}
VITE_ONBOARDING_PROXY_INSTALL_LINK: ${ONBOARDING_PROXY_INSTALL_LINK}
VITE_DISALLOWED_IDS: ${DISALLOWED_IDS}
VITE_CDN_REPLACEMENTS: ${CDN_REPLACEMENTS}
VITE_TURNSTILE_KEY: ${TURNSTILE_KEY}

10
docker-compose.yaml Normal file
View file

@ -0,0 +1,10 @@
version: "3.8"
services:
movieweb:
build:
context: .
ports:
- "80:80"
restart: always