forked from jrasanen/loki
-
Notifications
You must be signed in to change notification settings - Fork 0
/
kontena.yml
57 lines (54 loc) · 1.44 KB
/
kontena.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
stack: jussir/loki
description: |
Lokkaushomma
version: '2.6'
services:
elasticsearch:
affinity:
- label==loki-kone
image: registry.plat2.leonidasoy.fi/loki-elasticsearch
ports: []
stateful: true
environment:
- KONTENA_LB_MODE=tcp
- KONTENA_LB_EXTERNAL_PORT=9200
- KONTENA_LB_INTERNAL_PORT=9200
elasticsearch-exporter:
affinity:
- label==loki-kone
image: registry.plat2.leonidasoy.fi/loki-elasticsearch-exporter
links:
- elasticsearch
command: bin/elasticsearch_exporter --es.uri=http://elasticsearch:9200
fluentd:
affinity:
- label==loki-kone
image: registry.plat2.leonidasoy.fi/loki-fluentd
ports:
- "24224:24224"
- "24224:24224/udp"
volumes: []
depends_on:
- elasticsearch
kibana:
affinity:
- label==loki-kone
image: registry.plat2.leonidasoy.fi/loki-kibana
ports: []
volumes: []
environment:
KONTENA_LB_MODE: http
KONTENA_LB_BALANCE: roundrobin
KONTENA_LB_INTERNAL_PORT: 5601
KONTENA_LB_VIRTUAL_HOSTS: loki.leonidasoy.fi
KONTENA_LB_CUSTOM_SETTINGS: |
redirect scheme https if !{ ssl_fc }
http-response set-header Strict-Transport-Security max-age=16000000;\ includeSubDomains;\ preload;
links:
- platform/lb1
secrets:
- name: KONTENA_LB_BASIC_AUTH_SECRETS
secret: KIBANA_BASIC_AUTH
type: env
depends_on:
- elasticsearch