Skip to content

Commit

Permalink
add loki to docker-compose (#385)
Browse files Browse the repository at this point in the history
  • Loading branch information
iambeone authored Mar 3, 2020
1 parent 401957d commit 136586e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docker-compose.prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ services:
- /logs:/var/www/server/logs
networks:
- general
logging:
driver: loki
options:
loki-url: "http://admin:${LOKI_PASSWORD}@monitoring.lunie.io:3100/loki/api/v1/push"
deploy:
replicas: 1
environment:
Expand Down
4 changes: 4 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ services:
- /logs:/var/www/server/logs
networks:
- general
logging:
driver: loki
options:
loki-url: "http://admin:${LOKI_PASSWORD}@monitoring.lunie.io:3100/loki/api/v1/push"
deploy:
replicas: 1
environment:
Expand Down

0 comments on commit 136586e

Please sign in to comment.