From 9e2e99b6c29feee2c08275fb431af3b9a07faccf Mon Sep 17 00:00:00 2001 From: Joey Hafner Date: Thu, 14 Jul 2022 23:18:57 -0700 Subject: [PATCH 1/3] Add vscode workspace --- homelab.code-workspace | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 homelab.code-workspace diff --git a/homelab.code-workspace b/homelab.code-workspace new file mode 100644 index 0000000..876a149 --- /dev/null +++ b/homelab.code-workspace @@ -0,0 +1,8 @@ +{ + "folders": [ + { + "path": "." + } + ], + "settings": {} +} \ No newline at end of file From e1a4b1edcf5410a09cbdc69f9d233491a6b4d414 Mon Sep 17 00:00:00 2001 From: Joey Hafner Date: Thu, 14 Jul 2022 23:46:34 -0700 Subject: [PATCH 2/3] Add access logging to Traefik --- server/config/traefik/traefik.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/config/traefik/traefik.yaml b/server/config/traefik/traefik.yaml index 7c899d3..a0ffc9a 100644 --- a/server/config/traefik/traefik.yaml +++ b/server/config/traefik/traefik.yaml @@ -12,6 +12,8 @@ entryPoints: metrics: prometheus: {} +accessLog: {} + certificatesResolvers: lets-encrypt: acme: From f5e1a9860ec2b447a46c44e076db7e2140cd3cb4 Mon Sep 17 00:00:00 2001 From: Joey Hafner Date: Fri, 15 Jul 2022 00:02:56 -0700 Subject: [PATCH 3/3] Run loki as 1000:1000 --- server/config/monitoring/docker-compose.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/server/config/monitoring/docker-compose.yml b/server/config/monitoring/docker-compose.yml index a95a977..7bb58a6 100644 --- a/server/config/monitoring/docker-compose.yml +++ b/server/config/monitoring/docker-compose.yml @@ -55,6 +55,7 @@ services: loki: image: grafana/loki:2.5.0 container_name: monitoring_loki + user: 1000:1000 logging: driver: loki options: