Show More
@@ -5,7 +5,8 b' x-logging: &custom-logging' | |||
|
5 | 5 | # NOTE: loki logging driver ONLY works for host type networks... |
|
6 | 6 | driver: loki |
|
7 | 7 | options: |
|
8 | loki-url: "http://loki:3100/loki/api/v1/push" | |
|
8 | #loki-url: "http://loki:3100/loki/api/v1/push" | |
|
9 | loki-url: "http://127.0.0.1:3100/loki/api/v1/push" | |
|
9 | 10 | loki-retries: "5" |
|
10 | 11 | loki-timeout: "1s" |
|
11 | 12 | loki-max-backoff: "800ms" |
@@ -291,6 +292,7 b' services:' | |||
|
291 | 292 | - confvolume:/etc/rhodecode/conf |
|
292 | 293 | - logvolume:/var/log/rhodecode |
|
293 | 294 | - rc_reposvolume:/var/opt/rhodecode_repo_store |
|
295 | - rc_datavolume:/var/opt/rhodecode_data | |
|
294 | 296 | |
|
295 | 297 | logging: |
|
296 | 298 | *custom-logging |
@@ -11,7 +11,8 b' x-logging: &custom-logging' | |||
|
11 | 11 | # debug: sudo journalctl -u docker.service | grep loki |
|
12 | 12 | driver: loki |
|
13 | 13 | options: |
|
14 | loki-url: "http://loki:3100/loki/api/v1/push" | |
|
14 | #loki-url: "http://loki:3100/loki/api/v1/push" | |
|
15 | loki-url: "http://127.0.0.1:3100/loki/api/v1/push" | |
|
15 | 16 | loki-retries: "5" |
|
16 | 17 | loki-timeout: "1s" |
|
17 | 18 | loki-max-backoff: "800ms" |
@@ -103,8 +103,10 b' services:' | |||
|
103 | 103 | loki: |
|
104 | 104 | image: grafana/loki:2.7.1 |
|
105 | 105 | restart: always |
|
106 |
|
|
|
107 | # - "3100:3100" | |
|
106 | ports: | |
|
107 | # Loki port is the only one that needs explicitly | |
|
108 | # be exposed because of logging driver host-only woking mode | |
|
109 | - "3100:3100" | |
|
108 | 110 | # - "9095:9095" |
|
109 | 111 | command: [ |
|
110 | 112 | "-config.file=/etc/loki/loki-config.yaml" |
@@ -5,7 +5,8 b' x-logging: &custom-logging' | |||
|
5 | 5 | # NOTE: loki logging driver ONLY works for host type networks... |
|
6 | 6 | driver: loki |
|
7 | 7 | options: |
|
8 | loki-url: "http://loki:3100/loki/api/v1/push" | |
|
8 | #loki-url: "http://loki:3100/loki/api/v1/push" | |
|
9 | loki-url: "http://127.0.0.1:3100/loki/api/v1/push" | |
|
9 | 10 | loki-retries: "5" |
|
10 | 11 | loki-timeout: "1s" |
|
11 | 12 | loki-max-backoff: "800ms" |
@@ -5,7 +5,8 b' x-logging: &custom-logging' | |||
|
5 | 5 | # NOTE: loki logging driver ONLY works for host type networks... |
|
6 | 6 | driver: loki |
|
7 | 7 | options: |
|
8 | loki-url: "http://loki:3100/loki/api/v1/push" | |
|
8 | #loki-url: "http://loki:3100/loki/api/v1/push" | |
|
9 | loki-url: "http://127.0.0.1:3100/loki/api/v1/push" | |
|
9 | 10 | loki-retries: "5" |
|
10 | 11 | loki-timeout: "1s" |
|
11 | 12 | loki-max-backoff: "800ms" |
General Comments 0
You need to be logged in to leave comments.
Login now