Lem453

joined 2 years ago
[–] Lem453@lemmy.ca 1 points 2 months ago* (last edited 2 months ago)

This along with borg warehouse is the GOAT setup. Many others exist of course.

Borgbase for offsite backup as well. Has been rock solid and I test download files from there every now and again with no issues. Never really did a full restore since its my 3rd line backup

[–] Lem453@lemmy.ca 1 points 2 months ago

I used this years ago. I had issues with repeated database corruption. Google search showed lots of people with similar issues.

I moved to borg backup which has been great.

[–] Lem453@lemmy.ca 2 points 2 months ago* (last edited 2 months ago)

I use a docker container that uses the MySQL/postgress dump command to create database dumps every hour with a retention policy. The dump is placed into docker data directory.

My docker data directories are in a parent directory on the host.

Borgbackup then runs the backup on this one directory. Like the other reply mentions, this is probably overkill since the database doesn't isn't being written too that intensivley but the resources needed to do this are minimal so its not a big deal once you know how to set it up.

https://github.com/Martlark/pg_dump

https://github.com/fradelg/docker-mysql-cron-backup

[–] Lem453@lemmy.ca 1 points 2 months ago* (last edited 2 months ago)

I did his when I moved from unraid because I wanted better infra as code for my dockers etc. Kept unraid with all my drives and use NFS mounts from another machine with proxmox that runs a VM for my dockers

[–] Lem453@lemmy.ca 5 points 2 months ago

The best and most versatile system is having domains and a reverse proxy that has internal and external domains. Ie jelly.example.com and Vaultwarden.internal.example.com

Then you add authentik which does SSO for many app like nextcloud, immich, linkwarden etc. For apps that don't integrate, you can still use his with reverse proxy authentication (sonarr).

Naturally this is more complex to setup but nothing beats the versatility.

I can choose extra protection for things like vaultwarden (need to connect via wiregaurd). Make things external for other users to access easily (immich, jellyfin, etc). Everything is based on users that are made in authenticatik and they all have the same password with single sign on.

You would approach this is pieces. get the domain and reverse proxy working first. Then authentik. this is only realistic with docker compose.

[–] Lem453@lemmy.ca 7 points 2 months ago (1 children)

Assuming this is all true, sure its not great but how much does it matter?

Most have jellyfin in a docker. My jellyfin can't only has read only accses to the media folder. Only the config folder has write access. Assuming the worst case scenario here, how much damage can than do?

[–] Lem453@lemmy.ca 17 points 2 months ago* (last edited 2 months ago)

I've been using jelly since just after the emby fork and never had an update issue on docker. Automatic snapshots every 5 mins (amoung other backup tools). means I don't need to worry much if it does.

[–] Lem453@lemmy.ca 6 points 2 months ago

Owncloud infinite scale seems, well, much more scalable

[–] Lem453@lemmy.ca 1 points 3 months ago (2 children)

How does your create account system with invite codes work? Is jellyfin tied to another system for account management?

[–] Lem453@lemmy.ca 5 points 3 months ago

Does anyone know if these laptops can go into deep sleep correctly on linux / fedora?

[–] Lem453@lemmy.ca 1 points 4 months ago (2 children)

I have traefik running with all config done via the docker compose files and I just couldn't figure out how to get the bouncer middleware to work without causing problems. Doesn't help that most examples seem to be based on the static yaml based config so I'm trying to convert jt. Would appreciate anyone who might know of a resource that explains with docker compose environment tags.

I also have middle ware for things like authentik which complicates things.

[–] Lem453@lemmy.ca 1 points 4 months ago

Others have already mentioned the question makes no sense but for others that are curious.

Headscale is a self hosted tailacale alternative and for a small number of devices plain wireguard is as well. I use plain wireguard on my router to allow LAN access from my mobile devices.

I want rock solid stability and simplicity since I use this for to debug issues if they crop up while I'm away.

 

By local control, I mean if the Z-wave hub is down will the switch still work as a dumb switch and turn the lights on/off?

This is the product I would like to get, but can't find if they allow 'dumb switch' operation. Does anyone have experience with these? https://byjasco.com/ultrapro-z-wave-in-wall-smart-switch-with-quickfit-and-simplewire-white

Thanks!

 

Hi all. Just learned about NixOS a few weeks ago. I'm in the process of migrating several of my docker services to a new server that will have proxmox installed as the host and then a VM for docker.

I'm currently using alpine as the VM and it works well but one of the main goals of the migration is to use infrastructure as code as much as possible. All my docker services are docker compose files checked into a git repo that gets deployed. When I need to make a change, I update the git repo and pull down the latest docker compose.

I currently have a bunch of steps that I need to do on the alpine VM to make it ready for docker (qemu agent, NFS shares, etc).

NixOS promises to be able to do all that with a single config file and then create a immutable OS that never changes after that. That seems to follow the philosophy well for infrastructure as code and easy reproducibility.

Has anyone else tried NixOS as a docker host? Any issues you've encountered?

 

I'm just starting to upgrade my basic unraid docker to an InfraAsCode setup.

I will use unraid as Nas only. My media and backups will be on unraid, everything else on a separate proxmox VM that is running and SSD storage array for ZFS. Both the unraid and proxmox hosts share their storage via NFS. Each docker container mounts the NFS volumes as needed.

For the containers I use an alpine VM with docker. I use portainer to connect to a gitea repo (on unraid) to pull down the docker compose file.

So my workflow is, use VS code on my PC to write the compose file, commit to git, then on portainer I hit the redeploy button and it pulls the latest compose file automatically.

What's your setup?

view more: ‹ prev next ›