Commit Graph

65 Commits

Author SHA1 Message Date
901a06c9cd Switch to using common block to define chunks and rules directories 2022-07-14 14:14:21 -07:00
67772fb8e3 Uncomment common config 2022-07-14 14:10:49 -07:00
a49e27a3e8 Explicitly elevate to root 2022-07-14 14:10:08 -07:00
ba41bf6bf8 Disable volume map 2022-07-14 14:07:50 -07:00
cb60b422ff Try again 2022-07-14 13:59:43 -07:00
74abe421bb Switch to local_storage_config with /loki-logs 2022-07-14 13:56:26 -07:00
a791f2ed47 Remove loki storage binding 2022-07-14 13:47:56 -07:00
3b640c0f17 Persist loki log storage 2022-07-14 13:44:43 -07:00
02f0e42781 Update pihole exporter config 2022-07-14 00:07:54 -07:00
b67ef90d3c #31 Add Loki logging for all "main" apps
Also converted a few old composes from 4-space indentation to 2-space
Ignores supporting containers like postgres, redis, etc.
2022-07-13 13:35:56 -07:00
a9fe279a0a Add log_tags link 2022-07-13 12:51:57 -07:00
37494800ef Add docker logging docs 2022-07-13 12:50:39 -07:00
8bd6573146 Update Loki docs 2022-07-13 12:14:38 -07:00
d419cc2014 Disable auto-start for all containers. (Set all restart: "no") 2022-07-13 10:47:27 -07:00
079ee7decc Fix for:
time="2022-07-11T18:01:05Z" level=error msg="Unable to obtain ACME certificate for domains \"loki-monitoring\": unable to generate a certificate for the domains [loki-monitoring]: acme: error: 400 :: POST :: https://acme-v02.api.letsencrypt.org/acme/new-order :: urn:ietf:params:acme:error:rejectedIdentifier :: Error creating new order :: Cannot issue for \"loki-monitoring\": Domain name needs at least one dot" ACME CA="https://acme-v02.api.letsencrypt.org/directory" routerName=prometheus@docker rule="Host(`loki-monitoring`)" providerName=lets-encrypt.acme
2022-07-11 11:02:21 -07:00
a11d6e55e1 Add authentik to prometheus 2022-07-10 16:04:10 -07:00
07985a94e6 Fix overlapping router name 2022-07-10 16:01:15 -07:00
40d7630c1e Remove dead prometheus jobs 2022-07-09 01:05:37 -07:00
456e67674f Enable automatic oauth 2022-07-08 23:37:07 -07:00
143d58b9b1 Remove role mapping 2022-07-08 23:33:41 -07:00
ba1ae131d9 Init grafana OAuth2 with Authentik
Per Authentik: https://goauthentik.io/integrations/services/grafana/
And Grafana: https://grafana.com/docs/grafana/latest/setup-grafana/configure-security/configure-authentication/generic-oauth/
2022-07-08 23:31:04 -07:00
9daebe3aa0 Fix path 2022-07-08 11:12:20 -07:00
ff43e5cc43 Fix indentation 2022-07-08 11:11:46 -07:00
cf2accd42d Update docs 2022-07-08 11:10:33 -07:00
82f96ef3f6 Remove dangling promtail-config 2022-07-08 10:48:57 -07:00
548de71a39 Remove superfluous promtail 2022-07-08 10:48:36 -07:00
c6f8cbd61a Remove entry_parser 2022-07-08 01:32:31 -07:00
7593e21cf6 Fix indentation 2022-07-08 01:31:00 -07:00
e55baff8e6 Disable other jobs 2022-07-08 01:28:15 -07:00
9a48e1349d Implement ruanbekker's job 2022-07-08 01:27:27 -07:00
1abf602e1c Add docker_sd job 2022-07-08 01:18:17 -07:00
d7eaa943c7 Switch back to TechnoTim's log scraping method 2022-07-08 01:09:35 -07:00
3ed05ae45d Run loki as default user 2022-07-08 01:01:24 -07:00
4bc314e8be Run promtail as default user 2022-07-08 00:56:51 -07:00
2eb8e1dc5a Fix typo 2022-07-08 00:56:21 -07:00
bf5b24e5af Disable :ro due to permissions errors 2022-07-08 00:55:53 -07:00
5d30f520a5 - Switch back to 1000:1000
- Mount docker socket read-only
- Use docker service discovery
2022-07-08 00:54:24 -07:00
ccb6e00a10 Test with 0:0 2022-07-08 00:35:34 -07:00
d79f61cffe Fix typo 2022-07-08 00:32:53 -07:00
7524c7c5bc make container volume map explicitly read-only 2022-07-08 00:30:44 -07:00
ede63a36e6 Map /var/lib/docker/containers to promtail 2022-07-08 00:21:58 -07:00
f2765400ba Fix promtail config indentation 2022-07-07 23:32:56 -07:00
2239e9b605 Fix job indentation 2022-07-07 23:30:13 -07:00
c1c743f979 Switch from machine logs to docker logs 2022-07-07 23:25:09 -07:00
97dbc9af7b Fix typo 2022-07-07 23:20:02 -07:00
9fbe2f1f47 Clarify new daemon.json 2022-07-07 23:16:52 -07:00
72b8c77959 Init loki & promtail 2022-07-07 23:12:57 -07:00
bee147c8e6 Add fantasy realm server to exporter 2022-06-29 11:10:59 -07:00
a43c68c431 Add doc, enable anonymouse access 2022-06-21 23:31:21 -07:00
4b6dd70515 Enable unprivileged viewing of dashboards 2022-06-21 23:28:51 -07:00