Sorry, I can’t hear you over the artillery noise.
Errar es humano. Propagar errores automáticamente es #devops
- 2 Posts
- 28 Comments
Wait.
Does Portainer ask your email? I haven’t used it in years. I though it was just a container that you run, with mounted docker socket, and that’s it.
Is it now doing some “telemetry” and sending user data, like email, to their servers? If so, I’m glad I’m not using that anymore.
vsis@feddit.clto Selfhosted@lemmy.world•New apartment Internet has no port forwarding, admin loginEnglish8·1 year agoVPS + VPN is the cheapest option I believe for the services. It doesn’t have to be “elaborated”.
You can port-forward public VPS ports to your private addresses/ports. If you don’t want to use
iptables
you can usefirewalld
.The only “but” will be latency. For gaming it won’t perform as you may need.
It’s no longer open source. Big Deal in my books.
Vault features are cool. I really like it. But with Hashicorp now there is this big risk of “rug pulling” regarding its license.
The wise thing, in my opinion, is to avoid this company as much as possible.
vsis@feddit.clto Selfhosted@lemmy.world•Is there a way to preserve my comments before closing my instance?English25·1 year agoIf your comments have been federated to other instances, they will be there until they are deleted locally. If someone clicks on your user profile, they will get a DNS error if the domain is no longer there. Images in the comments pointing to you instance will be broken too. Nothing terrible actually happens.
Migrating accounts a la Mastodon is not happening soon in Lemmy.
My advice is: Go on and save some money.
vsis@feddit.clto Selfhosted@lemmy.world•RIP my photos from 2017 and contacts from 2005English5·1 year agoSorry to read that.
I’ve
dd
ed an external drive instead of an SD card once by mistake. I’ve never felt more stupid than that day.
It’s running NetBSD, isn’t it?
vsis@feddit.clto Selfhosted@lemmy.world•Home server tips and security for beginners?English5·1 year agoSome security tips:
Firewall should block everything by default, and you start allowing incoming and outgoing connections when you need them or if something fails.
Disable passwords and root access in ssh daemon.
Use fail2ban or something similar to block bots failing to log-in.
Use random long passwords for everything (eg: like databases). And put then in a password manager. If you can remember the database password, it’s not strong enough. If you can remember the admin password for a public web service, it’s weak.
Don’t repeat the passwords. Everything should have its own random long password.
.env files and files with secrets should be readable only by its service user. Chmod them to 400.
Monitor logs from time to time to see if something funny is happening.
vsis@feddit.clto Selfhosted@lemmy.world•Home server tips and security for beginners?English3·1 year agoRandom ports are easy to discover and there are tools to discover what service is behind a port.
It’s annoying for the legitimate user and easy to bypass by an actual attacker.
Also, if you use a random port above 1024 it could be a security issue since any user could star listening if the legitimate process crashes.
See this
vsis@feddit.clto Selfhosted@lemmy.world•After 1.5 years of learning selfhosting, this is where I'm atEnglish1·1 year agoNothing illegal is being discussed.
But I’m happy to talk about Jolly Roger.
Wow! this is exactly what I needed. Although, I didn’t exactly ask for it.
Thank you very much
Thanks to both of you.
I had the hope that DMARC, SPF and DKIM was stuff I could just ignore if not sending email. It seems I was wrong about that.
I’ve got 3 tricks for ya:
- backups
- backups
- backups
You may have one psql server per region and then use Bucardo to synchronize them.
I’ve never done this in production, so take my advice with a grain of salt.
vsis@feddit.clto Selfhosted@lemmy.world•Relative size comparison of social media platforms (December 2023)English21·2 years agoSince you posted it in a selfhosting community, this is the feeling I get:
I don’t know any product that matches your requirements.
If I had to deal with that today I’d buy a rasberry pi, a USB sim card dongle and some raspberry hat with GPS receiver.
You can write a small API that listens to the raspberries, who sends periodically their positions, and save it to a database.
But it’s a quite large project. There’s a lot of aspects to consider. The GUI, security, batteries, and a way to attach it to an animal without being lost or destroyed.
Sorry for not giving a useful answer lol. If you come out with an actual solution I’ll be glad to hear it, so I can track my cats in case they get lost.
vsis@feddit.clto Selfhosted@lemmy.world•Problem connecting to host from Docker containerEnglish1·2 years agoAre you using Docker Desktop? It uses a headless virtual machine inside host, so connecting to host is tricky.
You may use hostname
host.docker.internal
from the container to access host.edit: link to the docs https://docs.docker.com/desktop/networking/#i-want-to-connect-from-a-container-to-a-service-on-the-host
Kubernetes is useful if you have gone full cattle over pets. And that is very uncommon in home setups. If you only own one or two small machines you cannot destroy infra easily in a “cattle” way, and the bloatware that comes with Kubernetes doesn’t help you neither.
In homelabs and home servers the pros of Kubernetes are not very useful: high availability, auto-scaling, gitops integrations, etc: Why would you need autoscaling and HA for a SFTP used only by you? Instead you write a docker-compose.yml and call it a day.
git is already a decentralized version control software. Your local git repos are mirrors by themselves.
Put some
git fetch
in a server crontab, and you’re done. You can access them via ssh if your user have permissions.