Browse Source

greenhouse telemetry up and running roughly

forwarding-support
forest 1 month ago
parent
commit
8b05b95a91
2 changed files with 55 additions and 5 deletions
  1. +16
    -5
      docker-compose.yml
  2. +39
    -0
      loki/config.yml

+ 16
- 5
docker-compose.yml View File

@ -165,6 +165,21 @@ services:
- LOGADAPTER_DOMAINS_2_MATCHHOSTNAMEREGEX=(goatcounter|influxdb)
- LOGADAPTER_DOMAINS_2_CONTENTTYPEWHITELISTREGEX=DROP_ALL
greenhouse-telemetry:
image: sequentialread/greenhouse-telemetry:0.1.1
restart: always
networks:
- sequentialread
volumes:
- type: bind
source: ./greenhouse-telemetry/data
target: /greenhouse-telemetry/data
labels:
sequentialread-8080-public-port: 443
sequentialread-8080-public-protocol: https
sequentialread-8080-public-hostnames: "greenhouse-telemetry.sequentialread.com,telemetry.greenhouse-alpha.server.garden"
sequentialread-8080-container-protocol: http
loki:
image: grafana/loki:main-c4562f1
restart: always
@ -177,11 +192,7 @@ services:
- type: bind
source: ./loki/config.yml
target: /etc/loki/local-config.yaml
labels:
sequentialread-3100-public-port: 443
sequentialread-3100-public-protocol: https
sequentialread-3100-public-hostnames: "loki.sequentialread.com,telemetry.greenhouse-alpha.server.garden"
sequentialread-3100-container-protocol: http
influxdb:
image: influxdb:1.8.4


+ 39
- 0
loki/config.yml View File

@ -0,0 +1,39 @@
# Enables authentication through the X-Scope-OrgID header, which must be present
# if true. If false, the OrgID will always be set to "fake".
auth_enabled: false
server:
http_listen_port: 3100
ingester:
lifecycler:
address: 127.0.0.1
ring:
kvstore:
store: inmemory
replication_factor: 1
final_sleep: 0s
chunk_idle_period: 5m
chunk_retain_period: 30s
schema_config:
configs:
- from: 2020-05-15
store: boltdb
object_store: filesystem
schema: v11
index:
prefix: index_
period: 168h
storage_config:
boltdb:
directory: /tmp/loki/index
filesystem:
directory: /tmp/loki/chunks
limits_config:
enforce_metric_name: false
reject_old_samples: true
reject_old_samples_max_age: 168h

Loading…
Cancel
Save