Skip to content
Snippets Groups Projects
Commit 6a193c15 authored by Stefano Di Frischia's avatar Stefano Di Frischia
Browse files

L2SS-970: update dockerfile config

parent e0ff9295
No related branches found
No related tags found
1 merge request!447Resolve L2SS-970 "Add loki instance"
...@@ -28,3 +28,4 @@ services: ...@@ -28,3 +28,4 @@ services:
- "1514:1514/udp" # logstash syslog input - "1514:1514/udp" # logstash syslog input
- "5959:5959" # logstash tcp json input - "5959:5959" # logstash tcp json input
- "9600:9600" - "9600:9600"
restart: unless-stopped
output { output {
elasticsearch { # elasticsearch {
hosts => ["localhost"] # hosts => ["localhost"]
manage_template => false # manage_template => false
index => "logstash-%{+YYYY.MM.dd}" # index => "logstash-%{+YYYY.MM.dd}"
} # }
loki { loki {
[url => "localhost:3100" | default = none | required=true] [url => "localhost:3100" | default = none | required=true]
......
...@@ -20,6 +20,7 @@ services: ...@@ -20,6 +20,7 @@ services:
ports: ports:
- "3100:3100" - "3100:3100"
command: -config.file=/etc/loki/local-config.yaml command: -config.file=/etc/loki/local-config.yaml
restart: unless-stopped
promtail: promtail:
image: grafana/promtail:2.6.0 image: grafana/promtail:2.6.0
...@@ -34,3 +35,4 @@ services: ...@@ -34,3 +35,4 @@ services:
command: -config.file=/etc/promtail/config.yml command: -config.file=/etc/promtail/config.yml
networks: networks:
- control - control
restart: unless-stopped
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment