mirror of
https://github.com/Dvorinka/SEEN.git
synced 2026-06-03 20:13:02 +00:00
36 lines
1.1 KiB
Bash
36 lines
1.1 KiB
Bash
SEEN_ENV=production
|
|
SEEN_APP_NAME=seen
|
|
SEEN_HTTP_HOST=0.0.0.0
|
|
SEEN_HTTP_PORT=8081
|
|
SEEN_HTTP_READ_TIMEOUT=15s
|
|
SEEN_HTTP_WRITE_TIMEOUT=15s
|
|
|
|
# Railway Postgres connection string
|
|
SEEN_POSTGRES_URL=postgres://postgres:password@your-railway-postgres.railway.internal:5432/railway?sslmode=disable
|
|
SEEN_POSTGRES_MAX_CONNS=20
|
|
SEEN_POSTGRES_MIN_CONNS=2
|
|
|
|
# Railway Redis/Dragonfly connection string
|
|
SEEN_CACHE_ADDR=your-railway-redis.railway.internal:6379
|
|
SEEN_CACHE_PASSWORD=
|
|
SEEN_CACHE_DB=0
|
|
|
|
SEEN_CORS_ALLOWED_ORIGINS=https://your-vercel-project.vercel.app,https://your-custom-domain.com
|
|
SEEN_CORS_ALLOWED_METHODS=GET,POST,PUT,PATCH,DELETE,OPTIONS
|
|
SEEN_CORS_ALLOWED_HEADERS=Accept,Authorization,Content-Type,X-Request-ID
|
|
SEEN_CORS_EXPOSED_HEADERS=X-Request-ID
|
|
SEEN_CORS_ALLOW_CREDENTIALS=false
|
|
SEEN_CORS_MAX_AGE=24h
|
|
|
|
SEEN_AUTH_ACCESS_TOKEN_TTL_MINUTES=30
|
|
SEEN_AUTH_REFRESH_TOKEN_TTL_HOURS=720
|
|
SEEN_AUTH_JWT_SECRET=replace-with-a-long-random-secret
|
|
|
|
SEEN_TMDB_API_KEY=
|
|
SEEN_TMDB_BASE_URL=https://api.themoviedb.org/3
|
|
|
|
SEEN_IGDB_CLIENT_ID=
|
|
SEEN_IGDB_CLIENT_SECRET=
|
|
SEEN_IGDB_BASE_URL=https://api.igdb.com/v4
|
|
SEEN_IGDB_TOKEN_URL=https://id.twitch.tv/oauth2/token
|