qwacko

joined 1 year ago
[–] qwacko 9 points 1 year ago (4 children)

I presume this is in jest, but to be honest I feel like there is less risk of bad operators consuming my computing power and data when pirating than using legit services these days (ads, marketing, poor software etc...). I actually pirate content that I pay for as it gets all my content into a single location, and easily tracks what I have watched, and is better for taking it offline.

[–] qwacko 1 points 1 year ago

I am confused by this question, if you forward a port then the only device you should be interested in is the device you are forwarding to surely? If you are worried about devices on your network, then surely since they are already on the network side of the router and so if they were going to do something nefarious then opening a port is the least of your worries.

Honestly trying to understand the point you were trying making.

[–] qwacko 2 points 1 year ago (4 children)

Are.you able to identify what dns provider youa re using, as I read the error as being related to the cert resolver not being able to access the correct zone from the DNS provider. I am using cloudflare and the Caddy file looks pretty similar to mine, so I aren't sure the issue is there.

One other thing to try is to restarts caddy, I found that sometimes reloading my caddy file wasn't enough, and thing seemed to stay working after I restarted the docker image

[–] qwacko 2 points 1 year ago

Yeah, I had lots of service configured like that, and you are correct that it is awesome, however I have other services on other hosts (not on docker swarm either) so I needed to delve into file config quite often, and doing some web dev work, I had services that weren't dockerized, so I ended up creating dummy services (socat containers) to make them easy. It just got a bit frustrating and taking too much headspace, I was able to setup caddy in about 2 hours one evening, so I am pretty happy so far, and I can see all my hosts in a single file which is great ( I ended up with orphaned routes etc.. from containers I forgot about when I was testing things).

As you say, different people come at the same problem and come away with totally different views ( which is pretty great that there are enough option that we can all find something that works for our needs ).

[–] qwacko 1 points 1 year ago

I am aware of it, haven't needed to use it, but seems pretty powerful.

[–] qwacko 1 points 1 year ago

True, but if someone spends 5 hours changing there proxy ( + 10 hours figuring out what you broke and fixing ), then they might save a few minutes down the line configuring new services. self-hosting maths....

23
Caddy > Traefik > NPM (self.selfhosted)
submitted 1 year ago* (last edited 1 year ago) by qwacko to c/selfhosted@lemmy.world
 

Come on and fight me.....

I just tried out caddy for the first time and found it to be fantastic, I have used both Traefik and Nginx Proxy Manager extensively and although they were both great, the simplicity of the Caddfilr is fantastic. With a few snippets configured, I can add a host with a single line that just defines the port and url, it's like magic.

Has anyone got any known traps ( or tips) with caddy to make it useful.

The issues I have had previously with Traefik were the need to have multiplelines to configure it (and configure the host and router separately), and the difference between local docker services ( I do like using labels to configure, but with lots of services it gets a bit fragmented and difficult toanahe) and remote services ( had to use the file config).

With NPM, I find using the GUI to configure the servers difficult ( and challenging to keep consistent ) and I had a time that it forgot something ( can't remember if it was certificates or something else ) and that was the straw that broke the camel's back for me.

Anyway, currently I am happy with caddy and am not planning on replacing it (at least for a month or two :D ). It would be nice if there was a GUI, but no big drama honestly, and the text config is great.

[–] qwacko 3 points 1 year ago (1 children)

Would I be correct to assume you are using Backblaze PC backup rather than B2?

[–] qwacko 1 points 1 year ago

As far as I understand, a server (in Lemmy) can allow federation or limit it to what the server admin allows. Effectively you can think of federation as a two was subscription. The "host" server of a community has the entire community posts etc... And then anyone that subscribes to a community from a other server gets the updates etc... From the "home" server.

So for a single community (in your example hosted on server A for example), server B, C and D can "federate" to that server for that community, and there is no concept of B and D federatingb for that community.

So Lemmy is kind of similar to an old school forum, but with some magic of having shared logins, so you can loging with an account on a other server, and subsequently get updates into your feed.

If a server admin has issues with users or communities from a other server I believe they can use the concept of white-listing (only connect to specific servers) or black-listing (block specific servers) to "de-federate".

I am not an expert by any means, but this is my understanding.

Check out the following link to get "more correct" information. lemmy federation

[–] qwacko 2 points 1 year ago

Good work, interesting to see how you have made it work with limited additional libraries (i.e. react-query, next etc...), and interesting to see how all the catches can lead to callback hell....

But good work, and keep it up.

[–] qwacko 3 points 1 year ago

Although I might be interested in using the OP suggestion, I will draw the line at paying for this unholy combination :D ..... But we really, good efforts here

[–] qwacko 4 points 1 year ago

Yeah, this has me intrigued. May try it out in vscode just for a lark. Possibly actually will be easier to read with some nice shapes...

[–] qwacko 1 points 1 year ago (1 children)

Does anyone have any idea what specs are required to run alemmy server, how about the "big" ones at the moment, just to get an idea of the scale of the challenge?

view more: next ›