monolith/env.example

50 lines
1.2 KiB
Plaintext
Raw Permalink Normal View History

2022-11-22 20:17:40 +00:00
PORTAINER_GIT_DIR=..
2022-09-20 17:13:46 +00:00
MODULES_ENABLED="dis"
2022-11-22 20:17:40 +00:00
DISCORD_TOKEN=
2022-09-20 17:13:46 +00:00
THRESHOLD_LISTENER_HOST=0.0.0.0
THRESHOLD_LISTENER_PORT=13867
THRESHOLD_LISTENER_SSL=1
THRESHOLD_RELAY_ENABLED=0
THRESHOLD_RELAY_HOST=0.0.0.0
THRESHOLD_RELAY_PORT=13868
THRESHOLD_RELAY_SSL=1
THRESHOLD_API_ENABLED=1
THRESHOLD_API_HOST=0.0.0.0
THRESHOLD_API_PORT=13869
2022-11-22 20:17:40 +00:00
THRESHOLD_CONFIG_DIR=../legacy/conf/live/
#THRESHOLD_TEMPLATE_DIR=../legacy/conf/templates/
THRESHOLD_CERT_DIR=../legacy/conf/cert/
2022-09-20 17:13:46 +00:00
# How many messages to ingest at once from Redis
2022-11-22 20:17:40 +00:00
MONOLITH_INGEST_CHUNK_SIZE=70000
2022-09-20 17:13:46 +00:00
# Time to wait between polling Redis again
2022-11-22 20:17:40 +00:00
MONOLITH_INGEST_ITER_DELAY=2
2022-09-20 17:13:46 +00:00
# Number of 4chan threads to request at once
MONOLITH_CH4_THREADS_CONCURRENT=1000
# Time to wait between every MONOLITH_CH4_THREADS_CONCURRENT threads
MONOLITH_CH4_THREADS_DELAY=0.1
# Time to wait after finishing a crawl before starting again
2022-11-22 20:17:40 +00:00
MONOLITH_CH4_CRAWL_DELAY=60
2022-09-20 17:13:46 +00:00
# Semaphore value
MONOLITH_CH4_THREADS_SEMAPHORE=1000
# Threads to use for data processing
# Leave uncommented to use all available threads
2022-11-22 20:17:40 +00:00
MONOLITH_PROCESS_THREADS=7
# Enable performance metrics after message processing
MONOLITH_PROCESS_PERFSTATS=0
# Elasticsearch
ELASTICSEARCH_USERNAME=elastic
ELASTICSEARCH_PASSWORD=
ELASTICSEARCH_HOST=https://es01:9200
ELASTICSEARCH_TLS=1