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:
funkecoder23
2024-02-04 16:25:38 -05:00
parent 2593bbdb73
commit 101b5c416e
3 changed files with 13 additions and 1 deletions

View File

@@ -101,7 +101,7 @@ services:
labels:
logging: "promtail"
deploy:
replicas: 3
replicas: ${CONSUMER_REPLICAS}
<<: *knightcrawler-app
networks:
- knightcrawler-network