Skip to content

Commit

Permalink
Merge pull request #5 from Giveth/add-to-serve
Browse files Browse the repository at this point in the history
fix external network, add targetID for Loki
  • Loading branch information
geleeroyale authored Oct 12, 2023
2 parents abfba46 + c50fb2d commit f168a22
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 6 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ services:
ports:
- "8080:8080"
restart: always
networks:
- external_network


node-exporter:
image: quay.io/prometheus/node-exporter:latest
Expand Down Expand Up @@ -44,8 +47,10 @@ services:
- /home/devops/giveth-all/logs:/var/giveth/logs
- ./promtail-config.yml:/etc/promtail/config.yml
command: -config.expand-env=true -config.file=/etc/promtail/config.yml
networks:
- external_network

networks:
external_network:
external:
name: giveth-all_giveth
name: local-compose_giveth
2 changes: 2 additions & 0 deletions promtail-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ positions:
clients:
- url: ${LOKI_URL}/loki/api/v1/push

tenant_id: dev

scrape_configs:
- job_name: dev-impact-graph-logs
static_configs:
Expand Down

0 comments on commit f168a22

Please sign in to comment.