Skip to content

Commit

Permalink
Loki config stored in docker secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
Jozef Volak authored and marosmars committed Sep 19, 2022
1 parent 20e7cd8 commit 522d50b
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion composefiles/support/swarm-monitoring.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,12 @@ services:
mode: non-blocking
max-file: "3"
max-size: "10m"
configs:
- source: frinx_loki_config
target: /etc/loki/loki-local-config.yaml
mode: 0666
volumes:
- frinx-monitoring-loki:/loki
- ${UF_CONFIG_PATH}/monitoring/loki/loki-config.yaml:/etc/loki/loki-local-config.yaml
command: -config.file=/etc/loki/loki-local-config.yaml
healthcheck:
test: ["CMD-SHELL", "wget --spider 0.0.0.0:3100/ready"]
Expand Down Expand Up @@ -234,6 +237,9 @@ configs:
frinx_telegraf_config:
name: frinx_telegraf_config-${DEPLOY_SETTINGS_TIMESTAMP}.yml
file: ${UF_CONFIG_PATH}/monitoring/telegraf/telegraf.conf
frinx_loki_config:
name: frinx_loki_config-${DEPLOY_SETTINGS_TIMESTAMP}.yml
file: ${UF_CONFIG_PATH}/monitoring/loki/loki-config.yaml
set_env_secrets:
file: ${UF_CONFIG_PATH}/set_env_secrets.sh

Expand Down

0 comments on commit 522d50b

Please sign in to comment.