Update env example file

This commit is contained in:
Mark Veidemanis 2022-11-22 20:17:40 +00:00
parent 6b1604b724
commit 93353f34e7
Signed by: m
GPG Key ID: 5ACFCEED46C0904F
1 changed files with 18 additions and 9 deletions

View File

@ -1,6 +1,6 @@
PORTAINER_GIT_DIR=. PORTAINER_GIT_DIR=..
MODULES_ENABLED="dis" MODULES_ENABLED="dis"
DISCORD_TOKEN="xx" DISCORD_TOKEN=
THRESHOLD_LISTENER_HOST=0.0.0.0 THRESHOLD_LISTENER_HOST=0.0.0.0
THRESHOLD_LISTENER_PORT=13867 THRESHOLD_LISTENER_PORT=13867
THRESHOLD_LISTENER_SSL=1 THRESHOLD_LISTENER_SSL=1
@ -13,16 +13,16 @@ THRESHOLD_RELAY_SSL=1
THRESHOLD_API_ENABLED=1 THRESHOLD_API_ENABLED=1
THRESHOLD_API_HOST=0.0.0.0 THRESHOLD_API_HOST=0.0.0.0
THRESHOLD_API_PORT=13869 THRESHOLD_API_PORT=13869
PORTAINER_GIT_DIR=.
THRESHOLD_CONFIG_DIR=./legacy/conf/live/ THRESHOLD_CONFIG_DIR=../legacy/conf/live/
THRESHOLD_CERT_DIR=./legacy/conf/cert/ #THRESHOLD_TEMPLATE_DIR=../legacy/conf/templates/
THRESHOLD_CERT_DIR=../legacy/conf/cert/
# How many messages to ingest at once from Redis # How many messages to ingest at once from Redis
MONOLITH_INGEST_CHUNK_SIZE=900 MONOLITH_INGEST_CHUNK_SIZE=70000
# Time to wait between polling Redis again # Time to wait between polling Redis again
MONOLITH_INGEST_ITER_DELAY=0.5 MONOLITH_INGEST_ITER_DELAY=2
# Number of 4chan threads to request at once # Number of 4chan threads to request at once
MONOLITH_CH4_THREADS_CONCURRENT=1000 MONOLITH_CH4_THREADS_CONCURRENT=1000
@ -31,11 +31,20 @@ MONOLITH_CH4_THREADS_CONCURRENT=1000
MONOLITH_CH4_THREADS_DELAY=0.1 MONOLITH_CH4_THREADS_DELAY=0.1
# Time to wait after finishing a crawl before starting again # Time to wait after finishing a crawl before starting again
MONOLITH_CH4_CRAWL_DELAY=30 MONOLITH_CH4_CRAWL_DELAY=60
# Semaphore value # Semaphore value
MONOLITH_CH4_THREADS_SEMAPHORE=1000 MONOLITH_CH4_THREADS_SEMAPHORE=1000
# Threads to use for data processing # Threads to use for data processing
# Leave uncommented to use all available threads # Leave uncommented to use all available threads
# MONOLITH_PROCESS_THREADS=4 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