this post was submitted on 12 Jun 2023
128 points (100.0% liked)

Selfhosted

573 readers
1 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Resources:

> Any issues on the community? Report it using the report flag.

> Questions? DM the mods!

founded 1 year ago
MODERATORS
 

For those self-hosting a lemmy instance, what hardware are you using? I am currently using a small Hetzner VPS. It has 2 vCPU, 2GB RAM and 40GB SSD storage. My instance is currently just in testing with me as the only user, but I plan to use it for close friends or family that may want to try this out, but might not want to sign up for a different instance. My CPU and RAM usage is great so far. My only concern is how large the storage will balloon to over time. I’ve been up for ~20 hours and it’s grown to 1.5G total volume since.

you are viewing a single comment's thread
view the rest of the comments
[–] flea@hive.atlanten.se 6 points 1 year ago (2 children)

I just spun up my own instance. Trying it out. New to hosting lemmy. How do you guys list the disk usage? Where is lemmy? /Newb

[–] nx2@feddit.de 5 points 1 year ago (1 children)

If you are using docker just look at the volumes of the containers of the server, the UI and the two databases (one for stuff, one for pictures)

[–] culturerevolt@culture0.cc 5 points 1 year ago (1 children)

I used the ansible method to get running and I am using the default paths. If you are also using the default paths, you can find your data in /srv/lemmy// . This location will hold your configuration files and your volumes directory. The volumes directory holds postgres (the database), pictrs (your image hosting) and lemmy-ui (the web-ui for lemmy). To see how much disk space you are using:

cd /srv/lemmy/<domain>/

du -hc --max-depth=1 volumes

replace with your domain.

[–] flea@hive.atlanten.se 4 points 1 year ago* (last edited 1 year ago)

Thanks! Not so bad apparently.

8.0K	volumes/lemmy-ui
271M	volumes/postgres
424M	volumes/pictrs