Update .env.example
Browse files4 unmodified lines56789101112131415891011121314151617181920181920212223242526272828292930313233343536373839404142363738394041424344454344474546474852495051525354554 unmodified linesBASE_URL=http://localhost:7000
# PostgreSQL database connection settingsDB_USER=your_user # Username for PostgreSQL authenticationDB_HOST=your_host # PostgreSQL server hostname or IPDB_NAME=your_database # Name of the database to connect toDB_PASSWORD=your_password # Password for the PostgreSQL userDB_PORT=5432 # Port number where PostgreSQL is running (default 5432)DB_MAX_CONNECTIONS=20 # Maximum number of active connections allowed to the databaseDB_IDLE_TIMEOUT=30000 # Time (in ms) to close idle database connectionsDB_CONNECTION_TIMEOUT=2000 # Timeout (in ms) to establish a new database connectionDB_USER=postgres.akhxzgkbjjgypwcpujan # Username for PostgreSQL authenticationDB_HOST=aws-0-eu-west-1.pooler.supabase.com # PostgreSQL server hostname or IPDB_NAME=postgres # Name of the database to connect toDB_PASSWORD=JEvN5FYgvu3zXLhN # Password for the PostgreSQL userDB_PORT=6543 # Port number where PostgreSQL is runningDB_MAX_CONNECTIONS=20 # Maximum number of active connections allowed to the databaseDB_IDLE_TIMEOUT=30000 # Time (in ms) to close idle database connectionsDB_CONNECTION_TIMEOUT=2000 # Timeout (in ms) to establish a new database connection
# Redis cache configurationREDIS_HOST=your_host # Redis server hostname or IPREDIS_PORT=6379 # Port number where Redis is running (default 6379)REDIS_PASSWORD= # Password for Redis authentication (if required)REDIS_HOST=relaxing-flea-30894.upstash.io # Redis server hostname or IPREDIS_PORT=6379 # Port number where Redis is runningREDIS_PASSWORD=AXiuAAIncDFlOThmNWMzMTFhMjY0N2YwYmEyN2NkOGU1MWVmYmRmYnAxMzA4OTQ # Password for Redis authentication
# Trakt API credentials# These credentials are required to interact with the Trakt API and access its services.# To obtain these credentials:# 1. Create an account on Trakt.tv (https://trakt.tv).# 2. Go to the applications section (https://trakt.tv/oauth/applications).# 3. Create a new application by filling in the required information (name, description, etc.).# - For the "Redirect URL", use the following format: BASE_URL + /callback (e.g., http://localhost:7000/callback).TRAKT_CLIENT_ID=TRAKT_CLIENT_SECRET=TRAKT_CLIENT_ID=your_trakt_client_idTRAKT_CLIENT_SECRET=your_trakt_client_secret
# Content cache duration# The value can be expressed in hours (h) or days (d)# Default is '1d'TMDB_CACHE_DURATION=1dTRAKT_CACHE_DURATION=1d
# Allows you to define the interval for synchronizing the Trakt watch history# The value can be expressed in hours (h) or days (d)# Default is '1d'TRAKT_HISTORY_FETCH_INTERVAL=1d
# The number of pages to prefetch after the currently requested page# Helps improve performance by anticipating future requests# Default is '5'PREFETCH_PAGE_COUNT=5
# Cache duration settings for different content types# Default is '3' for bothCACHE_CATALOG_CONTENT_DURATION_DAYS=3CACHE_POSTER_CONTENT_DURATION_DAYS=7
# Logging level configuration# Possible values are: info, debug# Default is 'info' if not specified; 'debug' provides more detailed logsLOG_LEVEL=info
# The value can be expressed in days (d), weeks (w), or months (M)# For example, '3d' means that log files will be kept for 3 days before being deleted# If LOG_INTERVAL_DELETION is not defined in the environment variables, the default value is '3d'LOG_INTERVAL_DELETION=3d
# The environment in which the Node.js application is runningNODE_ENV=production
# Upstash Redis REST tokenUPSTASH_REDIS_REST_TOKEN=AXiuAAIncDFlOThmNWMzMTFhMjY0N2YwYmEyN2NkOGU1MWVmYmRmYnAxMzA4OTQ.env.example+24-25