mirror of
https://github.com/knightcrawler-stremio/knightcrawler.git
synced 2024-12-20 03:29:51 +00:00
Add optional configuration section
Add details about consumer replicas Add CONSUMER_REPLICAS to .env.example Change `consumer: deploy: replicas` to use CONSUMER_REPLICAS var to keep user config options in one file
This commit is contained in:
@@ -26,6 +26,7 @@ JOBS_ENABLED=true
|
||||
MAX_SINGLE_TORRENT_CONNECTIONS=10
|
||||
TORRENT_TIMEOUT=30000
|
||||
UDP_TRACKERS_ENABLED=true
|
||||
CONSUMER_REPLICAS=3
|
||||
|
||||
# Producer
|
||||
RabbitMqConfiguration__Host=rabbitmq
|
||||
|
||||
@@ -101,7 +101,7 @@ services:
|
||||
labels:
|
||||
logging: "promtail"
|
||||
deploy:
|
||||
replicas: 3
|
||||
replicas: ${CONSUMER_REPLICAS}
|
||||
<<: *knightcrawler-app
|
||||
networks:
|
||||
- knightcrawler-network
|
||||
|
||||
Reference in New Issue
Block a user