Skip to content

Commit

Permalink
Update install-loki-docker-log-driver.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
geleeroyale authored Oct 9, 2023
1 parent 0657707 commit 1d58e47
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion install-loki-docker-log-driver.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,11 @@ docker plugin install grafana/loki-docker-driver:2.9.1 --alias loki --grant-all-
# Step 4: Check if /etc/docker/daemon.json exists and has the required content
REQUIRED_CONTENT='{
"debug": true,
"log-driver": "loki"
"log-driver": "loki",
"log-opts": {
"loki-url": "https://logs.giveth.io/loki/api/v1/push",
"loki-batch-size": "400"
}
}'

if [[ -e /etc/docker/daemon.json ]]; then
Expand Down

0 comments on commit 1d58e47

Please sign in to comment.