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 a23471f commit 5564a1b
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions install-loki-docker-log-driver.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash
source .env

# Step 1: Check if Loki Docker Driver is already installed
if docker plugin ls | grep -q "loki"; then
Expand All @@ -14,11 +15,7 @@ REQUIRED_CONTENT='{
"debug": true,
"log-driver": "loki",
"log-opts": {
<<<<<<< HEAD
"loki-url": "https://logs.giveth.io/loki/api/v1/push",
=======
"loki-url": "https://<user_id>:<password>@logs-us-west1.grafana.net/loki/api/v1/push",
>>>>>>> e4c38a4efcd1421f088a90096f2094646679d76d
"loki-url": $LOKI_HOST,
"loki-batch-size": "400"
}
}'
Expand Down

0 comments on commit 5564a1b

Please sign in to comment.