krash

@krash@lemmy.ml

This profile is from a federated server and may be incomplete. Browse more on the original instance.

How to reverse proxy with caddy, tailscale and docker ?

Hello all, I’m taking my first steps in the realm of self-hosting and am learning as I go. I have a VM running ubuntu and I got it connected to tailscale network to fend off unwanted visitors. I also have discovered Docker and am using it to deploy two web applications: FreshRSS and Podfetch. I can deploy them through Docker...

krash,

Please do, I’d be most grateful for it.

If you have any better suggestion for how I should handle reverse proxying (maybe there’s a easier way than through Caddy?), I’m all ears.

krash,

Is there a reason why you’d recommend Ngnix over Caddy, as Caddy also have the capability to act as a reverse proxy?

And if you have any recommendations on resources where I can expand me knowledge on this topic, I’ll be happy to read more.

Thanks again!

krash,

Good find.

I am running Caddy through docker (with sudo docker-compose up, yml is listed above). I know, sudo:ing docker isn’t best practice, but I’m learning the ropes in a non-production enviorment 🙃 Also, I verified that docker is running as root by ps -eo euser,ruser,suser,fuser,f,comm,label |grep caddy

As for the docker version, I verified it by inspecting the image ID and saw that the image version is 2.7.2:


<span style="color:#323232;">           "Labels": {
</span><span style="color:#323232;">                "org.opencontainers.image.description": "a powerful, enterprise-ready, open source web server with automatic HTTPS written in Go",
</span><span style="color:#323232;">                "org.opencontainers.image.documentation": "https://caddyserver.com/docs",
</span><span style="color:#323232;">                "org.opencontainers.image.licenses": "Apache-2.0",
</span><span style="color:#323232;">                "org.opencontainers.image.source": "https://github.com/caddyserver/caddy-docker",
</span><span style="color:#323232;">                "org.opencontainers.image.title": "Caddy",
</span><span style="color:#323232;">                "org.opencontainers.image.url": "https://caddyserver.com",
</span><span style="color:#323232;">                "org.opencontainers.image.vendor": "Light Code Labs",
</span><span style="color:#323232;">                "org.opencontainers.image.version": "v2.7.2"
</span><span style="color:#323232;">            }
</span>

It seems that my next step is to look into the issue why dockerized-Caddy can’t communicate with Tailscale. Now I have a direction to investigate further into 🙂

Text-based games!(?)

Even though we got a computer in the mid to late 90’s, a shitty DOS-box that no-one kind of really knew how to do anything with, I was infinitely interested in anything to do with it. I remember playing Guerrilla Wars and some dungeon crawlers on it and such, but I feel like I almost entirely missed out on text-based games. I...

krash,

YES! Quite entertaining kingdom-sim with lots of weirdness and fun.

krash,

If you like roguelikes, you’re in for a treat. Check out Brogue and DCSS.

And if you want to witness some TUI eyecandy without it being a game, ssh git.charm.sh.

krash,

I recently donated to immich. That project created a product that allows me to take back ownership over my photographs and no longer am I dependent on Google for my memories.

krash,

Is it libre and available on fdroid?

krash,

Three is a certain quality to writing things down. It is a nice break from screens, makes you contemplate and elaborate on your thoughts. It works that way for me.

How do you deal with the logs on your servers?

I’m pretty new to selfhosting, but one thing that I know to take seriously is log collection. Since there are a lot of different type of logs (kernel log, application logs, etc) and logs come in many different formats (binary, json, strings) - it’s no easy task to collect them centrally and look through them whenever...

krash,

Do you push your logs regularly to a central storage, or do you just SSH into the machines regularly to look at the logs?

krash,

Nice! If you’d write a guide on your setup, I’d be all over it (along with others I’m sure) 😀

krash,

I know I’m just dreaming, but I really like the Gemini protocol and hope it’ll grow and develop more. It doesn’t have everything, but it’s very close to the "old web’.

what messaging app do you use?

So here’s the thing, every time I try to move away from Facebook messenger I run into the same problem, nobody else in my friends or family actually want to use a secure, private messenger app like signal or telegram, my wife, my parents, my in-laws, my friends they’re ALL on Facebook and they will never take signal...

krash,

I agree with every point. The last paragraph doesn’t have to be a problem though: telegram has very open and really nice APIs and enjoys a lot of FOSS 3rd party apps (only matched by matrix). Of course, we can only enjoy that as long the API usage is still free to use…

krash,

If you like berty, check out briar. Same ideas, however briar is more mature (and uglier).

krash,

I use telegram and signal for different purposes and people.

I’m surprised no-one mentioned XMPP/Snikket nor matrix. Both platforms are FOSS, selfhostable and thus gives you total control over your means of communication. Check them out if you’re curious (I prefer matrix, but snikket is more lightweight and easier to selfhost).

krash,

I also had this problem where touch scrolling on Firefox selects text instead (on ubuntu). It does however work OOTB for me on fedora, so it’s the main distro on that machine.

krash,

As per the readme:

Drawing 🟠 Flattened as image Handwriting 🔴 Lost

krash, (edited )

I had a similar story, except it was RH 5.x. I’ve been a faithful ubuntu user, but am seriously thinking of hopping to fedora considering how snappy it is (yet still delivering a fiction free experience).

Here’s to many more years in Linux 🍻

How do parents stay fit while they have little ones?

I used to be fit, running, cycling, partner acrobatics, etc. But I have done very little cardio, strength, or flexibility training since our wonderful daughter came along. She doesn't sleep well so part of the problem is energy. But the main issue is finding time. My partner and I both work remotely, I have a 08:00-16:30 tech...

krash,

Hello fellow parent. I also don’t have any extended family close and I went from workingout 6 days a week to barely doing two days a week.

I think one question needs to be asked first:

Why do you want to stay fit?

Is it because you want to stay healthy? Stay fit so you can be active with your kid(s)? Get kicks out of excerting yourself physically? Once you have your motivation, you need to answer another question:

What actually makes you take the actual step to make a workout?

Is it working out with others? Time to listen to music / podcasts? Seeing actual progress? A competition once your kid gets a bit older?

These questions are important to unlock the answers within you to start, and persist, in working out. In my case, I work out because I feel good when doing my sport, and I started a workout group because I perform best when working out with others. And since I started this group, I could also dictate the location of the group (hint: its 5 minutes walk from my place, thus saving precious minutes). Since I am responsible for coaching the group, I can’t back out days when I’m not in a mood since people count on me.

You could also make an agreement with your partner to take two mornings every week for working out, and do that on a feasting belly (remember warming up!). Or do a HIIT routine during lunch break, there’s plenty material on youtube for that (search for intense 20 minute HIIT). Or, like others suggested, you could do physical workout from home - Arnold Schwarzenegger make an excellent post on Reddit on a routine suggestion for that.

I hope you’ll find time and inspiration for keeping your physical activity going!

krash,

I find Aljazeera as biased as fox news can be. Aljazeera is a impressive news network, but I would absolutely not recommend them as a news source.

krash,

I deleted all my comments along with my account. I'm not contributing to any platform that is corporate owned walled garden. Lemmy is much more in line with my ethos and I'll happily contribute to it.

https://lemmy.ml/pictrs/image/9f0e2677-a9e6-44a5-a940-85c0512ef85d.png

  • All
  • Subscribed
  • Moderated
  • Favorites
  • provamag3
  • kavyap
  • DreamBathrooms
  • InstantRegret
  • magazineikmin
  • thenastyranch
  • ngwrru68w68
  • Youngstown
  • everett
  • slotface
  • rosin
  • ethstaker
  • Durango
  • GTA5RPClips
  • megavids
  • cubers
  • modclub
  • mdbf
  • khanakhh
  • vwfavf
  • osvaldo12
  • cisconetworking
  • tester
  • Leos
  • tacticalgear
  • anitta
  • normalnudes
  • JUstTest
  • All magazines