mirror of
https://github.com/Viren070/docker-compose-template.git
synced 2025-12-01 23:17:00 +01:00
feat: add stremio streaming catalogs
This commit is contained in:
@@ -34,6 +34,7 @@ services:
|
||||
${OMG_TV_STREMIO_ADDON_HOSTNAME},
|
||||
${STREMIO_CATALOG_PROVIDERS_HOSTNAME},
|
||||
${STREMIO_TRAKT_ADDON_HOSTNAME},
|
||||
${STREMIO_STREAMING_CATALOGS_HOSTNAME},
|
||||
${TMDB_ADDON_HOSTNAME},
|
||||
${TMDB_COLLECTIONS_HOSTNAME},
|
||||
${WEBSTREAMR_HOSTNAME}
|
||||
|
||||
@@ -77,6 +77,7 @@ services:
|
||||
${STREMIO_JACKETT_HOSTNAME},
|
||||
${STREMIO_LETTERBOXD_HOSTNAME},
|
||||
${STREMIO_SERVER_HOSTNAME},
|
||||
${STREMIO_STREAMING_CATALOGS_HOSTNAME},
|
||||
${STREMIO_TRAKT_ADDON_HOSTNAME},
|
||||
${STREMTHRU_HOSTNAME},
|
||||
${TAUTULLI_HOSTNAME},
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
# Interval for refreshing every streaming catalog in milliseconds. Defaults to 6 hours (21600000 ms).
|
||||
REFRESH_INTERVAL=21600000
|
||||
@@ -0,0 +1,51 @@
|
||||
services:
|
||||
stremio-streaming-catalogs:
|
||||
image: stremio-streaming-catalogs
|
||||
container_name: stremio-streaming-catalogs
|
||||
restart: unless-stopped
|
||||
build:
|
||||
context: https://github.com/rleroi/Stremio-Streaming-Catalogs-Addon.git
|
||||
dockerfile_inline: |
|
||||
FROM node:22.17-alpine
|
||||
WORKDIR /app
|
||||
|
||||
COPY package*.json ./
|
||||
|
||||
# Install production dependencies only
|
||||
RUN npm ci --omit=dev --ignore-scripts && \
|
||||
npm cache clean --force
|
||||
|
||||
# Copy application files
|
||||
COPY vue ./vue
|
||||
COPY index.js addon.js ./
|
||||
|
||||
ENV NODE_ENV=production
|
||||
|
||||
ENTRYPOINT ["npm", "start"]
|
||||
expose:
|
||||
- 7700
|
||||
env_file:
|
||||
- .env
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.stremio-streaming-catalogs.rule=Host(`${STREMIO_STREAMING_CATALOGS_HOSTNAME?}`)"
|
||||
- "traefik.http.routers.stremio-streaming-catalogs.entrypoints=websecure"
|
||||
- "traefik.http.routers.stremio-streaming-catalogs.tls.certresolver=letsencrypt"
|
||||
- "traefik.http.services.stremio-streaming-catalogs.loadbalancer.server.port=7700"
|
||||
- "traefik.http.routers.stremio-streaming-catalogs.middlewares=authelia@docker"
|
||||
healthcheck:
|
||||
test:
|
||||
[
|
||||
"CMD",
|
||||
"wget",
|
||||
"--quiet",
|
||||
"--tries=1",
|
||||
"--spider",
|
||||
"http://localhost:7700/manifest.json",
|
||||
]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
profiles:
|
||||
- stremio-streaming-catalogs
|
||||
- all
|
||||
Reference in New Issue
Block a user