mirror of
https://github.com/sussy-code/smov.git
synced 2024-12-20 14:37:43 +01:00
peer review feedback
This commit is contained in:
parent
2cfa5acb35
commit
d92a4de948
3 changed files with 21 additions and 38 deletions
22
Dockerfile
22
Dockerfile
|
@ -9,20 +9,20 @@ COPY pnpm-lock.yaml ./
|
|||
RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --frozen-lockfile
|
||||
|
||||
ARG PWA_ENABLED="false"
|
||||
ARG GA_ID=""
|
||||
ARG APP_DOMAIN=""
|
||||
ARG GA_ID
|
||||
ARG APP_DOMAIN
|
||||
ARG OPENSEARCH_ENABLED="false"
|
||||
ARG TMDB_READ_API_KEY=""
|
||||
ARG CORS_PROXY_URL=""
|
||||
ARG DMCA_EMAIL=""
|
||||
ARG TMDB_READ_API_KEY
|
||||
ARG CORS_PROXY_URL
|
||||
ARG DMCA_EMAIL
|
||||
ARG NORMAL_ROUTER="false"
|
||||
ARG BACKEND_URL=""
|
||||
ARG BACKEND_URL
|
||||
ARG HAS_ONBOARDING="false"
|
||||
ARG ONBOARDING_CHROME_EXTENSION_INSTALL_LINK=""
|
||||
ARG ONBOARDING_PROXY_INSTALL_LINK=""
|
||||
ARG DISALLOWED_IDS=""
|
||||
ARG CDN_REPLACEMENTS=""
|
||||
ARG TURNSTILE_KEY=""
|
||||
ARG ONBOARDING_CHROME_EXTENSION_INSTALL_LINK
|
||||
ARG ONBOARDING_PROXY_INSTALL_LINK
|
||||
ARG DISALLOWED_IDS
|
||||
ARG CDN_REPLACEMENTS
|
||||
ARG TURNSTILE_KEY
|
||||
|
||||
ENV VITE_PWA_ENABLED=${PWA_ENABLED}
|
||||
ENV VITE_GA_ID=${GA_ID}
|
||||
|
|
27
compose.yaml
27
compose.yaml
|
@ -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
10
docker-compose.yaml
Normal file
|
@ -0,0 +1,10 @@
|
|||
version: "3.8"
|
||||
|
||||
services:
|
||||
|
||||
movieweb:
|
||||
build:
|
||||
context: .
|
||||
ports:
|
||||
- "80:80"
|
||||
restart: always
|
Loading…
Reference in a new issue