Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@ THE_LOUNGE_HOSTNAME=thelounge.${DOMAIN}
TMDB_ADDON_HOSTNAME=tmdb.${DOMAIN}
TMDB_COLLECTIONS_HOSTNAME=tmdb-collections.${DOMAIN}
TORBOX_MANAGER_HOSTNAME=tbm.${DOMAIN}
TRAKT_TV_HOSTNAME=trakt-tv.${DOMAIN}
TRAEFIK_HOSTNAME=traefik.${DOMAIN}
UPTIME_KUMA_HOSTNAME=status.${DOMAIN}
USENET_STREAMER_HOSTNAME=usenet-streamer.${DOMAIN}
Expand Down
1 change: 1 addition & 0 deletions apps/authelia/compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ services:
${STREMIO_TRAKT_ADDON_HOSTNAME},
${STREMIO_STREAMING_CATALOGS_HOSTNAME},
${SYNCRIBULLET_HOSTNAME},
${TRAKT_TV_HOSTNAME},
${TMDB_ADDON_HOSTNAME},
${TMDB_COLLECTIONS_HOSTNAME},
${USENET_STREAMER_HOSTNAME},
Expand Down
34 changes: 34 additions & 0 deletions apps/trakt-tv/.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# ================================================================================== #
# ████████╗██████╗ █████╗ ██╗ ██╗████████╗ ████████╗██╗ ██╗ #
# ╚══██╔══╝██╔══██╗██╔══██╗██║ ██╔╝╚══██╔══╝ ╚══██╔══╝██║ ██║ #
# ██║ ██████╔╝███████║█████╔╝ ██║ ██║ ██║ ██║ #
# ██║ ██╔══██╗██╔══██║██╔═██╗ ██║ ██║ ╚██╗ ██╔╝ #
# ██║ ██║ ██║██║ ██║██║ ██╗ ██║ ██║ ╚████╔╝ #
# ╚═╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═══╝ #
# ================================================================================== #
# Forked from: https://github.com/dexter21767/Trakt #
# Built from: https://github.com/rrattani/Trakt (with fixes & enhancements) #
# ================================================================================== #

# We need to obtain a Trakt Client ID and secret in order for the addons to work.
# To obtain these credentials:
# 1. Create an account/Log in on Trakt.tv/ (https://trakt.tv).
# 2. Go to the applications section (https://trakt.tv/oauth/applications).
# 3. Create a new application (or use an existing application) by filling in the required information (name, description, etc.).
# - For the "Redirect URL", add the following URLs (replacing the ${*_HOSTNAME} with your actual hostname):
# - https://${TRAKT_TV_HOSTNAME}
#
# Note: you can only use an existing application, if you are not using a device code auth flow for that application.

# Trakt client-id and client-secret.
# client-id also goes in api-key as well, Please dont ask me why? will update sooner or laterto fix.
API_KEY=<--TRAKT-CLIENT-ID-->
client_id=<--TRAKT-CLIENT-ID-->
client_secret=<--TRAKT-CLIENT-SECRET-->

# TMDB API Key
tmdb=<--TMDB-API-KEY-->

# Do not change
PORT=63355
BASE_URL=https://${TRAKT_TV_HOSTNAME}
19 changes: 19 additions & 0 deletions apps/trakt-tv/compose.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
services:
trakt-tv:
image: ghcr.io/rrattani/trakt-tv:latest
container_name: trakt-tv
restart: unless-stopped
expose:
- 63355
env_file:
- .env
labels:
- "traefik.enable=true"
- "traefik.http.routers.trakt-tv.rule=Host(`${TRAKT_TV_HOSTNAME?}`)"
- "traefik.http.routers.trakt-tv.entrypoints=websecure"
- "traefik.http.routers.trakt-tv.tls.certresolver=letsencrypt"
- "traefik.http.routers.trakt-tv.middlewares=authelia@docker"
- "traefik.http.services.trakt-tv.loadbalancer.server.port=63355"
profiles:
- trakt-tv
- all