Commit Graph

77 Commits

Author SHA1 Message Date
4118cd951c #38 Remove uptime kuma from prometheus scraper 2022-07-15 19:14:03 -07:00
80e54525e2 Switch Traefik scrape target to LAN IP 2022-07-15 19:06:56 -07:00
faea9e8f05 #37 Switch to LAN IP for scrape IP 2022-07-15 18:49:26 -07:00
a90ae2b6e8 Update and clean up prometheus.yml 2022-07-15 18:27:29 -07:00
43a97d4bab Reset Prometheus to 1000:1000 2022-07-15 18:16:54 -07:00
04a3ce81cf Prometheus use default user 2022-07-15 18:10:29 -07:00
a21a253cf6 Standardize exporter container naming 2022-07-15 18:09:25 -07:00
8cbd0fbcf0 Remove authentik@file middleware from services 2022-07-15 10:56:20 -07:00
a1f8e43213 Run loki as 1000:1000 2022-07-15 00:02:56 -07:00
29bb9c150d Add keep-file: true to loki driver 2022-07-14 15:22:44 -07:00
e2dbd1b89f Remove root from loki 2022-07-14 14:28:38 -07:00
e22f94631e Change path_prefix to loki-logs 2022-07-14 14:28:03 -07:00
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