Skip to content

Commit

Permalink
rename env to LOKI_PUSH_PASSWORD
Browse files Browse the repository at this point in the history
  • Loading branch information
robert-oleynik committed Aug 1, 2024
1 parent ba67386 commit 90de391
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions promtail/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Run using docker:
docker run -v /var/run/docker.sock:/var/run/docker.sock \
-e LOKI_PUSH_URL="<domain>/loki/api/v1/push" \
-e LOKI_PUSH_USER="<user>" \
-e LOKI_PUSH_PASSW="<password>" \
-e LOKI_PUSH_PASSWORD="<password>" \
-e DOCKER_HOST="/var/run/docker.sock" \
-e INSTANCE_NAME="HelloWorld" \
scalableminds/promtail
Expand All @@ -24,6 +24,6 @@ Environment Variables:
|------|-------------|
| `LOKI_PUSH_URL` | URL to push to (e.g. `<domain>/loki/api/v1/push`) |
| `LOKI_PUSH_USER` | User for Basic Auth |
| `LOKI_PUSH_PASSW` | Password for Basic Auth |
| `LOKI_PUSH_PASSWORD` | Password for Basic Auth |
| `DOCKER_HOST` | Path to docker host (e.g. `unix:///var/run/docker.sock`) |
| `INSTANCE_NAME` | Name of the instance |
2 changes: 1 addition & 1 deletion promtail/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ clients:
- url: ${LOKI_PUSH_URL}
basic_auth:
username: ${LOKI_PUSH_USER}
password: ${LOKI_PUSH_PASSW}
password: ${LOKI_PUSH_PASSWORD}
scrape_configs:
- job_name: docker
docker_sd_configs:
Expand Down

0 comments on commit 90de391

Please sign in to comment.