Lifebandit666

joined 1 year ago
[–] [email protected] 3 points 6 months ago (2 children)

Hi, I read your update and you're just a little behind me on the trail, so here's some breadcrumbs.

Proxmox is awesome, stop wondering and install it, it's awesome.

Ok so you can do 2 things, VM or LXC. You're wondering what the difference is.

VM is a computer

LXC is a container.

Now as far as I can tell a container is kinda like a little computer that's made to do one thing. So it needs less resources, just what it needs to do that one thing. It also needs less permissions to do that one thing, so it has less permissions.

Now Docker is a container engine. It's beautiful because you can just tell it what to make and it'll make it. If you remember what you told it, you can do it again really quickly.

Docker is also beautiful because it will run on anything. So you can make a container on a Linux machine, then make it again on a Windows machine if you remember what you told it. This is done with a bunch of text, so as long as you can save that text and get it on another machine, well you have the container again.

Not knowing this, I've been trying to make docker work in LXC containers with a bit of success and a lot of failure. I thought I could just have a bunch of cloned LXC containers with Docker on, and make a bunch of services using minimal resources.

But now I know I'm trying to run a container inside a container and that's why I'm hitting walls.

So Proxmox VMs are gonna be your friend. It will be tempting to try and migrate to containers, but as a beginner you can save a lot of headaches by making a couple of VMs and cramming a bunch of stuff on em.

This is where Docker is useful. If you use a docker hypervisor (?) app, there's Portainer for example which I use, you can just use one instance to control a bunch of other instances of Docker.

This makes it easy to try something out on a test machine, then just move it over to another machine when it's ready. The more similar the machines are, the easier the transfer. In Proxmox you can clone things, so you can make a computer, clone it, then set things up on one and move em over when they're working right, then just turn the test machine off.

So in my opinion, boot a VM of Home Assistant OS and get that working. Make another for playing with of whichever flavour you fancy. Windows, Linux, both?

Bang docker in it and have a play. I like Portainer, made Docker easier to mess with, but I like a UI. So I got Portainer working first and used that to put Docker Compose files into "Stacks" in Portainer and poked them.

Then when I found stuff I liked I tried booting them so they work, be that in a VM, and LXC or in Docker if I had got it working to my liking already. Because Docker is containers I hit a lot of problems running stuff (and I don't know what I'm doing) but found an LXC or VM easier.

Try getting piHole (and try Adguard, I prefer it) going in Docker. I found Adguard works perfectly fine in Docker, so once I got it working I just had to decide where I wanted it and ended up having an instance in Docker in an LXC (container in a container, not great, but it works.

Then I copied it onto a raspberry pi, just put Docker on it and and used the same file. That means that if I knackered up my Proxmox my internet won't go down.

Hope that helps

[–] [email protected] 2 points 6 months ago

I'm glad you commented as I didn't know I can define 2 networks in Docker. At the moment I'm trying to get Arr working in docker and it was going well until I realised my containers can't communicate with Plex. I believe it's because I'm using Gluetun and I haven't enabled LAN networking on my VPN. but theoretically the apps that need to see Plex don't need to be behind the VPN, but they didn't work when they weren't because they couldn't talk to Prowlarr.

So theoretically I could just slap "bridge" in my network as well, and then they'll be in Gluetun and out of it at the same time.

I may try it tomorrow. Thanks for your comment

[–] [email protected] 3 points 6 months ago

Recently set this up myself in Ubuntu with the Mullvad app. I noticed in the qBittorrent settings that you have to tell it which ip to use. Mine was set to "any" so I had a quick look at the IP address of Mullvad and selected that one in the drop down

[–] [email protected] 1 points 6 months ago

Bleugh Immich.

I've heard great things but I'm quite new to all this and can't get the fucking thing to boot. Last night I followed their install via Portainer walkthrough to the letter, copy/pasted their files from their links they pointed at...

I'll have it running by next weekend most likely, this keeps happening, then I learn a bunch of shit. But I really have no idea why it wouldn't boot last night.

[–] [email protected] 3 points 6 months ago (1 children)

This all sounds awesome. So eli5 I have all my drives mounted to Proxmox, then passed through to OMV in a VM.

I can just mount these same drives to containers no issues right now, and I can add them to VMs using your link?

I would like to get down to LXCs too, but I've found VMs so much easier to set up and use. I'll try your way

[–] [email protected] 2 points 6 months ago (3 children)

I share bind-mounts currently between multiple LXC from the host Proxmox OS, configuration is pretty easy, and there are lots of tutorials online for getting started.

Now then:

Are you sharing SMB mounts? I have my HDDs passed through to OMV and have considered just trying to pass them through to other VMs, but never tried because I don't wanna break anything.

I have seen that you can share SMB to Proxmox and use them in Proxmox but don't know if you can use them in VMs too.

As it is I really struggled with mounting smb for a couple of weeks and then had an "aha" moment last weekend, and have it all figured out now.

The Tailnet idea was so I can just mount everything to the Tailnet and stop worrying about whether it's on this vlan or that. I was trying to set up an Openwrt container with VPN, which I could use for any container that needs a vpn, but then those containers couldn't see the main network properly...

I've given up on that now and have my SMB mounts all set up, but feel like pass-through would give better network speeds for moving things around.

[–] [email protected] 3 points 6 months ago (6 children)

I hear what you're saying and honestly it's not something I had thought about, so thanks for that.

For myself I should be good if your prediction comes true since I already have Home Assistant through my own domain using Cloudflare. I could theoretically move all my stuff to my own domain and Nginx, etc.

I like Tailscale because I don't have to do all that. I'm new to Self Hosting (no I'm new to running multiple VMs) so finding something that just works with minimal effort is great for a noob. I wanna learn the things (networking), but I wanna learn other things (loads!) first.

Cloudflare and a Domain wasn't as hard as DuckDNS and Nginx, but Tailscale was easier and cheaper than that in my adventures on Home Assistant. I've gone from hard to easy mode.

At some point a hobby has to cost money, I may be happy to pay for Tailscale if there's more features. I'd like to replace SMB mounts with Tailnet mounts, but currently that's not a thing to my knowledge.

Oh and I'm not really shouting from rooftops on a self hosted Lemmy server, it's more like a quiet chat around a campfire telling a potential newcomer and easy way. It may cost in the future or they may make enough from Businesses that they keep a free tier, but currently it's free and easy.

[–] [email protected] 3 points 6 months ago* (last edited 6 months ago) (11 children)

Nah it sounds far too simple to "just install Tailscale and you're good" doesn't it? But it really is kinda that easy.

Install the Tailscale add on for Home Assistant, sign in and set up an "exit node" (it's a menu item, easy) then install Tailscale on your phone.

Switch it on on your phone outside your network. 3 dots in the app and select "Use exit node" and select the one you set up.

Now on your browser on your phone just type in the IP address of the self hosted service (I just have my home page address set to Homarr which has them all) and you're done.

Really damn easy, and free

Edit: That exit node you set.up is inside your network. Tailscale tunnels to that exit node inside your network without open ports, so when you do as above, you're essentially inside your network.

I use work WiFi. Work block WhatsApp. When I connect through Tailscale via work WiFi, my WhatsApp works fine, because I'm using my own home network to send/receive messages

[–] [email protected] 3 points 6 months ago

I have recently been buying cables. I've come to the conclusion that a Man's purpose in life is to collect them and put them in a drawer.

Anyway these cables are usb 3.0 to 3.5" HDD cables with a power supply.

This has allowed me to mount 3 old HDDs I had gathering dust. These are the main storage for my NAS which is OMV through Proxmox.

They work fine, I'm able to watch Plex and also have a friend that watches my Plex.

They were all of £15 each.

[–] [email protected] 3 points 6 months ago (13 children)

I have a domain I own and access through Cloudflare, but there's also DuckDNS or Nabu Casa.

Or as someone else has pointed out, Tailscale, which is awesome, and free.

That's to access from outside.

As for NAS, I'm currently happily using Open Media Vault.

won't proxmox add a layer of complexity with Coral/Frigate/a Zigbee dongle?

Nah, just pass it through

[–] [email protected] 2 points 6 months ago

Honestly I wouldn't worry too much, I mean yeah get one with a fan but it's not integral to getting it running.

Install Home Assistant Operating System on an SSD when you can, SD cards aren't made for the read/write you'll get from HAOS but again, it's not integral.

So yeah do those things, but boot it without a case and SSD for now and just play with it. Get the Google drive backup add-on for it. When you upgrade to an SSD just pull the backup from there and you're golden.

[–] [email protected] 1 points 6 months ago* (last edited 6 months ago)

I tried to spin up a Homarr docker container the other day after seeing it on YouTube, but because it's located in ghcr it just wouldn't install.

I even added ghcr to my resources in docker using my password and an API key, but still no dice.

I'm missing something obvious, but I'm not sure what, any pointers?

Edit: I've just tried again and this time it hasn't failed with an error message, just hanging in Portainer stacks deployment instead

Edit 2: I left it hanging and checked while I was out and about (love Tailscale)and it's working now!

view more: ‹ prev next ›