Removing backend target from SSD docker setup (#8836)

**What this PR does / why we need it**:
The `backend` target is only present in v2.8.
pull/8826/head
Danny Kopping 3 years ago committed by GitHub
parent 76c2e910cb
commit a7ff0fd70e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      production/docker/config/loki.yaml
  2. 25
      production/docker/docker-compose.yaml

@ -53,14 +53,10 @@ ruler:
enable_api: true
wal:
dir: /tmp/ruler-wal
evaluation:
mode: remote
query_frontend:
address: dns:///loki-read:9095
storage:
type: local
local:
directory: /etc/loki/rules
directory: /loki/rules
rule_path: /tmp/prom-rules
remote_write:
enabled: true

@ -118,6 +118,7 @@ services:
image: grafana/loki:2.7.3
volumes:
- ./config:/etc/loki/
- ./rules:/loki/rules:ro
ports:
- "3100"
- "7946"
@ -127,7 +128,7 @@ services:
# - SYS_PTRACE
#security_opt:
# - apparmor=unconfined
command: "-config.file=/etc/loki/loki.yaml -target=read -legacy-read-mode=false"
command: "-config.file=/etc/loki/loki.yaml -target=read"
networks:
- loki
restart: always
@ -157,28 +158,6 @@ services:
mode: replicated
replicas: 3
loki-backend:
image: grafana/loki:2.7.3
volumes:
- ./config:/etc/loki/
- ./rules:/etc/loki/rules
ports:
- "3100"
- "7946"
# uncomment to use interactive debugging
#- "60000-60002:40000" # makes the replicas available on ports 50000, 50001, 50002
# cap_add:
# - SYS_PTRACE
# security_opt:
# - apparmor=unconfined
command: "-config.file=/etc/loki/loki.yaml -target=backend -legacy-read-mode=false -log.level=debug"
networks:
- loki
restart: always
deploy:
mode: replicated
replicas: 3
# alertmanager to enable receiving alerts
alertmanager:
image: prom/alertmanager:v0.23.0

Loading…
Cancel
Save