updated docker information
This commit is contained in:
17
docker/dev/logging/promtail-config.yml
Normal file
17
docker/dev/logging/promtail-config.yml
Normal file
@@ -0,0 +1,17 @@
|
||||
server:
|
||||
http_listen_port: 9080
|
||||
grpc_listen_port: 0
|
||||
|
||||
positions:
|
||||
filename: /var/log/promtail/positions.yaml
|
||||
|
||||
clients:
|
||||
- url: http://loki:3100/loki/api/v1/push
|
||||
|
||||
scrape_configs:
|
||||
- job_name: laravel_logs
|
||||
static_configs:
|
||||
- labels:
|
||||
app: fotospiel
|
||||
service: laravel
|
||||
__path__: /var/www/html/storage/logs/*.log
|
||||
Reference in New Issue
Block a user