Change postgres configuration in the producer to use the env vars from the stack

This commit is contained in:
iPromKnight
2024-02-04 15:03:07 +00:00
parent c20a92e8f0
commit e461e26b0f
14 changed files with 106 additions and 61 deletions

3
.env
View File

@@ -28,7 +28,6 @@ TORRENT_TIMEOUT=30000
UDP_TRACKERS_ENABLED=true
# Producer
ScrapeConfiguration__StorageConnectionString=host=postgres;username=postgres;password=postgres;database=knightcrawler;
RabbitMqConfiguration__Host=rabbitmq
RabbitMqConfiguration__QueueName=ingested
RabbitMqConfiguration__Username=guest
@@ -37,4 +36,4 @@ RabbitMqConfiguration__Durable=true
RabbitMqConfiguration__MaxQueueSize=0
RabbitMqConfiguration__MaxPublishBatchSize=500
RabbitMqConfiguration__PublishIntervalInSeconds=10
GithubSettings__PAT=
GithubSettings__PAT=