mastodontech.de ist einer von vielen unabhängigen Mastodon-Servern, mit dem du dich im Fediverse beteiligen kannst.
Offen für alle (über 16) und bereitgestellt von Markus'Blog

Serverstatistik:

1,4 Tsd.
aktive Profile

#100daysofhomelab

0 Beiträge0 Beteiligte0 Beiträge heute

[012/100] #100DaysofHomeLab

I spent a long time trying to get #Docker logs in #Grafana Loki today using the native connector. Nothing seems to be working quite right.

I want to love the Grafana stack, but it seems to be at odds with me at every turn. Does anyone have suggestions for #selfhosted full observability platforms? I'd ideally want metrics, logs, and traces with alerting/notifications as a nice to have.

I may go back to Signoz if I can't get this logging to work.

[011/100] #100DaysofHomeLab

Today I learned a little bit about #NGINX location routing. I wanted to deploy an application under a root location but not pass the root location along to the downstream app.

Ex: `example.com/apps/app1/home` ==> `http://10.0.0.1:80/home`

Turns out I needed a combination of things:
`location /apps/app1/ { proxy_pass http://10.0.0.1:80/}`
and
`location ^~ / { proxy_pass http://10.0.0.1:80}`

This link helped:

serverfault.com/a/562850

[1/2]

[010/100] #100DaysofHomeLab

Tonight was a simple hardware upgrade. Now my two main #Proxmox nodes are running matching hardware: i7-6700T (4c/8t) with 16GB DDR4.

The little Optiplex "micro" PCs from Dell really are the sweet spot for Homelabs. Small, (relatively) power efficient, easy to work on (upgrade took 15 minutes tonight including a reboot), and pretty cheap these days (especially when you consider the price of Raspberry Pis now).

[009/100] #100DaysofHomeLab

I feel like this should have been obvious, but since I'm already using #Ansible to configure my infrastructure applications, why not also use it to deploy my "fun" applications as well on each new commit.

Found this article that will guide my initial configuration.

spacelift.io/blog/github-actio

SpaceliftAnsible with GitHub Actions: Automating Playbook RunsIn this step-by-step guide, you’ll learn how to use GitHub Actions to automate deployments and run Ansible playbooks.

[007/100] #100DaysofHomeLab

Spent some time today thinking about how I want to do dev / stage deploys of containerized applications on the lab. No solid conclusions yet.

[008/100]

Came across the `-H` flag of docker-compose. This seems compelling. But, now I need to figure out how I want to dish out and store SSH keys to my runner. I'll probably do some sort of #Ansible solution with Gitea secure variables but I'm leaving the door open.

#selfhosted#docker#CICD

[005/100] #100DaysofHomeLab

Spent most of yesterday trying to troubleshoot why my #Gitea runner isn't working. I'm getting `getaddrinfo ENOTFOUND server` when on the `actions/checkout@v4` step.

It seems like there might be some connectivity issues between the runner and the server even though they are defined in the same docker-compose stack and #docker network.

Hopefully today I can make some progress on this and get a full Gitea deployment working.

[002/100] #100DaysofHomeLab

✅Upgraded one #Proxmox node from 7.4 to 8.2. One left to go but that's PROD so I'm taking things slowly.

🟡I also tried to install a global Gitea runner. But, after it succeeded I thought all of my #DNS broke (NS_Unknown errors). After re-running my #Ansible scripts with no success, I finally realized I'd moved rooms and disconnected from my wireless network that's isolated for homelab work. 🤦

The `dig <domain.name>` command was what tipped me off.