-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Weifeng Wang <[email protected]> Update README.md
- Loading branch information
Showing
5 changed files
with
61 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
services: | ||
loki: | ||
labels: | ||
- logs.agent.grafana.com/log-format=json | ||
depends_on: | ||
minio: | ||
condition: service_healthy | ||
image: ${LOKI_IMAGE:-docker.io/grafana/loki:2.9.6} | ||
volumes: | ||
- ../config/loki:/etc/loki | ||
command: | ||
- -config.file=/etc/loki/monolithic-mode-logs.yaml | ||
- -target=all | ||
- -config.expand-env=true | ||
healthcheck: | ||
test: [ "CMD-SHELL", "wget --no-verbose --tries=1 --spider http://localhost:3100/ready || exit 1" ] | ||
interval: 10s | ||
timeout: 5s | ||
retries: 10 | ||
# expose 33100 port so we can directly access loki inside container | ||
ports: | ||
- "33100:3100" | ||
networks: | ||
default: | ||
aliases: | ||
- loki-memberlist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters