nykula
@nykula@piefed.social
- Comment on What are the best learning resources? 1 week ago:
Where does OP say that they only want resources and no answers at all? Also you sadly misquote me by stripping context, I replied that there’s a simple solution (and how specifically to look for it) to one of their questions if one condition if satisfied, and that the problem doesn’t have an easy answer otherwise, therefore needing more research. I went out of my way to give OP brief answers and more specific questions for research, like I do for my students, and you make it look like I just wrote RTFM.
- Comment on What are the best learning resources? 1 week ago:
To your specific questions:
why people use traefik
Reverse proxies let you serve multiple apps from one server, encrypt your traffic and automate updates of encryption certificates. I use Apache (virtual hosts, mod_md) for this.
how and why to use docker containers
Modern web apps have many constantly shifting dependencies and don’t work closely with distributions on packaging them, so they have to be updated separately from the base system. They might also need different versions of these dependencies, and multiple instances of one dependency (e.g. database). Containers are one way to achieve that, and also ease backups, monitoring of individual apps, and installing an application in exact same way on development and testing machines.
what settings to change on the router
To expose ports 22 (ssh), 80 (http) and 443 (https) to world, forward them to your server.
how to connect and setup the domain
In the DNS settings for your domain, point “A” record to your home IP. That’s if you rent a static IP. If you don’t, things will be more complicated, research on your own.
how to do this safely
Bare minimum: set up daily backups of container volumes and reverse proxy configuration, same for updates of base system and containers, and turn off SSH password login in favor of keys. Test that a backup can be successfully restored in a virtual machine at least once a month.
- Comment on Observability Stack? 1 week ago:
What’s insecure about CGI? I thought the main reason it isn’t popular now is because runtimes are slow to start. Though IIRC when I used busybox httpd CGI with a small runtime, quickjs, speed wasn’t an issue.
- Comment on Observability Stack? 1 week ago:
To have logs from every container launch in journalctl, I have systemd run podman-compose without daemonizing it. To debug container logs, a shell is usually needed anyway, so I see little point in exposing logs through a web dashboard.
- Comment on Observability Stack? 1 week ago:
To add, journal-brief can e-mail you systemd logs. If your apps aren’t very noisy, this can be helpful without a need to set up a complex observability stack.
- Comment on Looking to move from Caddy 2 weeks ago:
Apache has mod_md, a built-in LetsEncrypt-compatible module that requires very little configuration and no external daemons or cron jobs: https://httpd.apache.org/docs/2.4/mod/mod_md.html Three lines per virtual host: MDomain, MDContactEmail and MDCertificateAgreement. Using it in production for three years without any issue. I don’t know what’s Apache stance on LLMs, I guess neither for nor against.
- Comment on Selfhosting as a Linux newbie - Ubuntu Server LTS or Debian 13? 2 months ago:
YNH ease of installation for everything is unrivaled, but upgrades even of popular apps such as Synapse broke on me repeatedly, backups didn’t want to restore, and my domain with it kept getting banned by Google Safe Browsing without explanation (fuck Google, but I didn’t have much success getting “normal” users to share that view). Other servers with manually written docker-compose files caused much less friction.
- Comment on yoself: Podman monitoring & public status page 2 months ago:
If needed, I can make Yoself show recent RSS from Mastodon
Added tonight,
^1.1.0on npm. Set anotherINCIDENT=https://example.org/@mastodon.rssenvironment variable for it to work. Looks like text + date link at the top of the page. Fetches once every 10 minutes; shows toots from last 48h in static html. No demo for this feature because I don’t currently have an incident history account. - Submitted 2 months ago to selfhosted@lemmy.world | 1 comment
- Comment on Auth apps 2 months ago:
Same. Would be cool if Nextcloud could also act as a LDAP server for apps that don’t support OIDC.
- Comment on Continuwuity 4 months ago:
Agreed that QR codes should be accompanied by text links for accessibility, because many times the scanning fails due to bad light, old camera or shaky hands.
- Comment on What are your self–hosted alternatives for inter device communication? 4 months ago:
Syncthing. I connect both devices to same Wi-Fi, copy a file to a shared directory, and wait a minute.
- Comment on What us the best way to add remote access to my servers? 7 months ago:
Have you tried adding Tor hidden services? It was the easiest solution for me to expose ports from behind the provider’s NAT to my phone when not at home.