-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
36 lines (33 loc) · 1.64 KB
/
Copy path.env.example
File metadata and controls
36 lines (33 loc) · 1.64 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Copy this file to .env and fill in the values.
# .env is gitignored — never commit real secrets.
# --- SSO: Google OAuth 2.0 (optional) ---
# Create credentials at https://console.cloud.google.com/apis/credentials
# Add http://localhost:3000/auth/callback/google as an authorized redirect URI.
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
GOOGLE_REDIRECT_URI=http://localhost:3000/auth/callback/google
# --- Metadata enrichment API keys (optional) ---
# TMDB (movies/video) — free key at https://www.themoviedb.org/settings/api
TMDB_API_KEY=
# IGDB (games) — free via Twitch, see https://api-docs.igdb.com/#getting-started
IGDB_CLIENT_ID=
IGDB_CLIENT_SECRET=
# --- Readium LCP / LSD digital DRM (optional, requires --profile lcp) ---
# Run with: just dev-lcp (or: docker compose --profile lcp up --build)
#
# Build the LCP and LSD servers from source:
# git clone https://github.com/readium/readium-lcp-server
# cd readium-lcp-server && docker build -t tils/lcp-server -f lcpserver/Dockerfile .
# docker build -t tils/lsd-server -f lsdserver/Dockerfile .
# Then set the image names below and restart with just dev-lcp.
#
# Internal URLs used by curios-manager (Docker network hostnames):
LCP_SERVER_URL=http://lcp-server:10000
LSD_SERVER_URL=http://lsd-server:10001
# Public URL patrons and Thorium Reader use to reach the LSD status endpoint:
LSD_PUBLIC_URL=http://localhost:10001
# Public URL of the frontend — embedded in LCP license documents as the "provider":
BFF_PUBLIC_URL=http://localhost:3000
# Custom image tags (default: readium/lcp-server:latest / readium/lsd-server:latest)
LCP_SERVER_IMAGE=tils/lcp-server:latest
LSD_SERVER_IMAGE=tils/lsd-server:latest