-
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path.env
More file actions
42 lines (38 loc) · 1.38 KB
/
.env
File metadata and controls
42 lines (38 loc) · 1.38 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
37
38
39
40
41
42
PORT=8062
BIND_ADDRESS=0.0.0.0
FORCE_FILE_REBUILD=0
FORCE_METADATA_RESYNC=0
FORCE_DB_OPTIMIZE=0
DEBUG=0
NODE_ENV=dev
# Memory Impacting Settings - Trades for threading efficiency. Much slower, but should be useful for limited memory environments like VPS
# May also decrease 504 failure rates
# Changes the maximum number of jobs the crawler can queue. Setting it too high will cause a call stack overflow
MAX_JOB_QUEUE=1000
# Changes the maximum number of pages that can be fetched for parsing. Has a massive impact on memory usage. Setting to 12 results in about 1.1GiB memory usage
MAX_FETCH_JOBS=1000
# Changes the name of your instance
INSTANCE_NAME=Myrient
# Enable the built-in emulator
EMULATOR_ENABLED=true
# Enable database keyword optimizer
DB_KEYWORD_OPTIMIZER=0
# Set the hostname
HOSTNAME=myrient.mahou.one
# OpenAI-compatible API settings
AI_ENABLED=true
AI_API_KEY=gsk_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
AI_API_URL=https://api.groq.com/openai/v1/chat/completions
AI_MODEL=openai/gpt-oss-120b
# Run docker-compose.dev.yml for running locally
# Database Configuration
POSTGRES_HOST=localhost
POSTGRES_PORT=5432
POSTGRES_DB=myrient
POSTGRES_USER=postgres
POSTGRES_PASSWORD=development
# Elasticsearch Configuration
ELASTICSEARCH_URL=http://localhost:9200
#IGDB Connection Configuration - Not setting this will disable the new search page and metadata pull
TWITCH_CLIENT_ID=
TWITCH_CLIENT_SECRET=