56 lines
1.5 KiB
Plaintext
56 lines
1.5 KiB
Plaintext
# General environment variables
|
|
TZ=London/Europe
|
|
|
|
# PostgreSQL
|
|
POSTGRES_HOST=postgres
|
|
POSTGRES_PORT=5432
|
|
POSTGRES_USER=postgres
|
|
POSTGRES_PASSWORD=postgres
|
|
POSTGRES_DB=knightcrawler
|
|
|
|
# MongoDB
|
|
MONGODB_HOST=mongodb
|
|
MONGODB_PORT=27017
|
|
MONGODB_DB=knightcrawler
|
|
MONGODB_USER=mongo
|
|
MONGODB_PASSWORD=mongo
|
|
|
|
# RabbitMQ
|
|
RABBITMQ_HOST=rabbitmq
|
|
RABBITMQ_USER=guest
|
|
RABBITMQ_PASSWORD=guest
|
|
RABBITMQ_QUEUE_NAME=ingested
|
|
RABBITMQ_DURABLE=true
|
|
RABBITMQ_MAX_QUEUE_SIZE=0
|
|
RABBITMQ_MAX_PUBLISH_BATCH_SIZE=500
|
|
RABBITMQ_PUBLISH_INTERVAL_IN_SECONDS=10
|
|
|
|
# Metadata
|
|
## Only used if DATA_ONCE is set to false. If true, the schedule is ignored
|
|
METADATA_DOWNLOAD_IMDB_DATA_SCHEDULE="0 0 1 * *"
|
|
## If true, the metadata will be downloaded once and then the schedule will be ignored
|
|
METADATA_DOWNLOAD_IMDB_DATA_ONCE=true
|
|
## Controls the amount of records processed in memory at any given time during import, higher values will consume more memory
|
|
METADATA_INSERT_BATCH_SIZE=25000
|
|
|
|
# Addon
|
|
DEBUG_MODE=false
|
|
|
|
# Consumer
|
|
JOB_CONCURRENCY=5
|
|
JOBS_ENABLED=true
|
|
## can be debug for extra verbosity (a lot more verbosity - useful for development)
|
|
LOG_LEVEL=info
|
|
MAX_CONNECTIONS_PER_TORRENT=10
|
|
MAX_CONNECTIONS_OVERALL=100
|
|
TORRENT_TIMEOUT=30000
|
|
UDP_TRACKERS_ENABLED=true
|
|
CONSUMER_REPLICAS=3
|
|
## Fix for #66 - toggle on for development
|
|
AUTO_CREATE_AND_APPLY_MIGRATIONS=false
|
|
## Allows control of the threshold for matching titles to the IMDB dataset. The closer to 0, the more strict the matching.
|
|
TITLE_MATCH_THRESHOLD=0.25
|
|
|
|
# Producer
|
|
GITHUB_PAT=
|