mikmc5 commited on
Commit
04ecdc3
·
verified ·
1 Parent(s): adb8518

Create .env

Browse files
Files changed (1) hide show
  1. .env +29 -0
.env ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Set environment variables
2
+ # BASE_URL is the base URL for accessing the addon without a trailing slash.
3
+ # Example: https://tmdb-dice.stremio
4
+ # Ensure this URL is correctly configured for your environment.
5
+ BASE_URL=http://localhost:7000
6
+
7
+ # Specifies the cache expiration duration for catalog content.
8
+ # The format is either days or hours, e.g., '3d' for 3 days or '3h' for 3 hours.
9
+ CATALOG_CONTENT_CACHE_DURATION=3d
10
+
11
+ # Specifies the cache expiration duration for RPDB posters.
12
+ # The format is either days or hours, e.g., '3d' for 3 days or '3h' for 3 hours.
13
+ RPDB_POSTER_CACHE_DURATION=3d
14
+
15
+ # The number of days after which application logs will be automatically deleted.
16
+ # Set this to a suitable duration to manage log file size and retention.
17
+ LOG_INTERVAL_DELETION=3d
18
+
19
+ # Defines the logging level for the application.
20
+ # Set to "info" for standard logging or "debug" for more detailed logs.
21
+ LOG_LEVEL=info
22
+
23
+ # The environment in which the application is running.
24
+ # Typically set to "production" for live environments or "development" for testing and debugging.
25
+ NODE_ENV=production
26
+
27
+ # The port on which the addon will listen for incoming connections.
28
+ # Make sure this port is open and not used by other services.
29
+ PORT=7000