Skip to content

Commit fb81eb9

Browse files
authored
fix: configs in deploy (#234)
* fix: detected issues * fix: disabled ruler and increased timeouts for loki
1 parent b03558f commit fb81eb9

2 files changed

Lines changed: 10 additions & 3 deletions

File tree

backend/loki/loki-config.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,13 @@ limits_config:
3131
retention_period: 720h
3232
allow_structured_metadata: true
3333

34+
ruler:
35+
enable_api: false
36+
storage:
37+
type: local
38+
local:
39+
directory: /loki/rules
40+
3441
compactor:
3542
working_directory: /loki/compactor
3643
compaction_interval: 10m

docker-compose.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -435,11 +435,11 @@ services:
435435
mem_limit: 256m
436436
restart: unless-stopped
437437
healthcheck:
438-
test: ["CMD-SHELL", "wget --quiet --tries=1 --output-document=- http://localhost:3100/ready || exit 1"]
438+
test: ["CMD-SHELL", "wget --quiet --tries=1 --output-document=- http://localhost:3100/ready | grep -q -w ready || exit 1"]
439439
interval: 10s
440440
timeout: 5s
441-
retries: 10
442-
start_period: 15s
441+
retries: 12
442+
start_period: 20s
443443

444444
# Event replay service
445445
event-replay:

0 commit comments

Comments
 (0)