klangcola

joined 2 years ago
[–] klangcola@reddthat.com 2 points 3 days ago

Yikes, are those required? Looks very rug-shaped, perfect for pulling things. Or not. Who knows?

[–] klangcola@reddthat.com 3 points 5 days ago

Yeah it's a normal model, but BitWarden is a bit special in that their original server-side implementation was enough of a pain to self-host on a small scale that an alternative implementation Vautlwarden was created. And Vaultwarden became very popular in self-hosted circles. And now many years later BitWarden offers a Lite server which scales down. I think it's a good thing, just a bit unusual. I'm struggling to think of similar examples.

I'm sure Vaultwarden still funnels plenty of enterprise use of BitWarden, since Vaultwarden users still use official BitWarden client.

[–] klangcola@reddthat.com 9 points 1 week ago

Forward thinking venture capital funded companies are getting rarer, hence the question on motivation. Especially the last few years many VC Foss companies have squeezed harder the other way (gitea, Terraform, docker). So all kudos to BitWarden for launching Lite.

What you say a about brand dominance, or brand protection makes a lot of sense. It's not a good look for them that a large number of people choose to use an unofficial implementation instead of theirs. And should there ever be a catastrophic security issue with Vaultwarden, it would still reflect bad on BitWarden as that kind of nuance (like "unofficial server side implementation") tend to get lost in reporting. Having more IT workers self-host official version probably also helps pave the way for bringing enterprise-bitwarden to companies.

Valve are a bit of a unicorn though, because they are privately owned. There's no investors demanding ROI the next quarter, which gives them freedom to think long term.
When Microsoft launched windows8 and the Microsoft Store, Valve took that as an existential threat to their whole business model (the Steam store). Valve feared that Microsoft was trying to position itself like Apple on iOS and Google on Android, where there is only one platform store, and all apps are purchased through the platform store, and the platform store takes that sweet sweet 30% cut. So Valve pivoted to ensure the Steam store would not be obsolete, and give customers a reason to still use the Steam store. And what they achieved is awesome, for Linux, for Valve and for gamers. But it took nearly a decade, which is a level of patience few companies have.

[–] klangcola@reddthat.com 56 points 1 week ago (11 children)

Wonder what's the reasoning behind offering this Lite version. I don't imagine competing with Vaultwarden is very lucrative financially.

[–] klangcola@reddthat.com 2 points 1 week ago

To be honest I don't remember why I set up gitea with MySQL instead of sqlite (or MariaDB), its quite a few years ago. And sqlite would probably be fine for my single-user instance

[–] klangcola@reddthat.com 2 points 1 week ago* (last edited 1 week ago)

It's a bit of a sad state of Europes electric car manufacturering that the only two mentioned manufacturers are Volvo/Polestar, both wholly owned by Chinese Geely, with production in China.

The ChargeUp organisation consists of charging infrastructure providers (including gas station companies like CircleK, BP, Total). The only manufacturer is (American) Tesla, presumably because of their charging infrastructure division. https://www.chargeupeurope.eu/membership

EmobilityEurope organization is mostly driver-associations and supply chain companies. The actual manufacturers are:

  • Lucid (American)
  • GM (American)
  • Tesla (American)
  • Polestar (Chinese/Swedish)
  • NIO (Chinese)
  • Rivian (American)
  • Smart (initially German, currently Chinese)
  • Volvo (Chinese/Swedish)
    https://www.emobilityeurope.org/our-members/

So not a single European (electric) car manufacturer is involved

[–] klangcola@reddthat.com 3 points 1 week ago (5 children)

I just did it not long a ago. Gittea -> Forgejo10 -> Forgejo11 LTS, in Docker. Surprisingly quick, painless and smooth.

(My only issue was not Forgejo, but MySQL. Because the hardware is ancient and Docker compose pulled down a new version of mysql8 at the same time as pulling forgejo. New version of mysql8 didnt support my CPU architecture. Easy fix was to change the label mysql8oraclelinux7 in Docker compose and pull that image. There is a issue with solutions in the MySQL Docker GitHub repo)

[–] klangcola@reddthat.com 3 points 1 week ago

Can attest that Folder Sync is excellent. I use it all day (in the background) for two-way sync (notes) and backup of photos videos etc

Though a small PSA on setting up:
I once set up a new share on a new phone with two-way sync, and the app decided to sync the (newer) empty directory to the server (i.e. delete everything) instead of pulling the files from the server to the phone.
Easy fix: Restore notes from backup (step 0: have backups in the first place), then do an initial 1-way sync from server to phone, then change the sync job to two-way.

[–] klangcola@reddthat.com 2 points 3 weeks ago (1 children)

Do you version your compose files in git? If so, how does that work with the dockGE workflow?

[–] klangcola@reddthat.com 6 points 3 weeks ago

I highly recommend you use Proxmox as the base OS. Proxmox makes it easy to spin up virtual machines, and easy to back up and revert to backups. So you're free to play around and try stupid stuff. If you break something in your VM, just restore a backup.

In addition to virtual machines, Proxmox also does "LXC containers" , which are system level containers. They are basically a very light weight virtual machine, with some caveats like running the same kernel as the host.

Most self-hosting software is released as a docker-image. Docker is application level containers, meaning only the bare minimum to run the application is included. You don't enter a docker container to update packages, instead you pull down a new version of the image from the author.

There are 3 ways to run docker on Proxmox:

  • Install docker inside a virtual machine (recommended).
  • Install docker inside a LXC Containers (not recommended because of various edge cases)
  • Install docker directly on the Proxmox host (not recommended for various reasons).
  • (There is ongoing work for running docker images directly in Proxmox, this is in beta/preview since Proxmox 9.1).

The "overhead" of running docker inside a VM on the host is so negligible, you don't need to worry about it.

[–] klangcola@reddthat.com 3 points 3 weeks ago (4 children)

I had never heard of dockge before, but this sounds like the killer feature for me:

File based structure - Dockge won't kidnap your compose files, they are stored on your drive as usual. You can interact with them using normal docker compose commands

Does that mean I can just point it at my existing docker compose files?
My current layout is a folder for each service/stack , which contains docker-compose.yaml + data-folders etc for the service. docker-compose and related config files are versioned in git.
I have portainer, but rarely use it , and won't let it manage the configuration, because that interfered with versioning the config in git.

[–] klangcola@reddthat.com 28 points 3 weeks ago

The article introduction is gold:

In the unlikely case that you have very little RAM and a surplus of video RAM, you can use the latter as swap.

 

What are the pros and cons of using Named vs Anonymous volumes in Docker for self-hosting?

I've always used "regular" Anonymous volumes, and that's what is usually in official docker-compose.yml examples for various apps:

volumes:
  - ./myAppDataFolder:/data

where myAppDataFolder/ is in the same folder as the docker-compose.yml file.

As a self-hoster I find this neat and tidy; my docker folder has a subfolder for each app. Each app folder has a docker-compose.yml, .env and one or more data-folders. I version-control the compose files, and back up the data folders.

However some apps have docker-compose.yml examples using named volumes:

services:
  mealie:
    volumes:
      - mealie-data:/app/data/
volumes:
  mealie-data:

I had to google documentation https://docs.docker.com/engine/storage/volumes/ to find that the volume is actually called mealie_mealie-data

$ docker volume ls
DRIVER    VOLUME NAME
...
local     mealie_mealie-data

and it is stored in /var/lib/docker/volumes/mealie_mealie-data/_data

$ docker volume inspect mealie_mealie-data
...
  "Mountpoint": "/var/lib/docker/volumes/mealie_mealie-data/_data",
...

I tried googling the why of named volumes, but most answers were talking about things that sounded very enterprise'y, docker swarms, and how all state information should be stored in "the database" so you shouldnt need to ever touch the actual files backing the volume for any container.

So to summarize: Named volumes, why? Or why not? What are your preferences? Given the context that we are self-hosting, and not running huge enterprise clusters.

view more: next ›