Tags aren't categories you create — they're patterns you notice.
Yes AI daddy 🤤
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.
Rules:
Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.
No spam posting.
Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.
Don't duplicate the full text of your blog or github here. Just post the link for folks to click.
Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).
No trolling.
No low-effort posts. This is subjective and will largely be determined by the community member reports.
Resources:
Any issues on the community? Report it using the report flag.
Questions? DM the mods!
Tags aren't categories you create — they're patterns you notice.
Yes AI daddy 🤤
Sigh....
That stupid way of explaining the license plan aside, are we again having to explain that we don't want our data locked into yet another db format?
Can't really tell if that's the case or not. It looks like the base files you upload are stored on the filesystem as normal, and the "blocks" (metadata) is what's stored in the DB?
Yes, that's what I get from that as well.
I guess as long as users get some options for import/export/backup then it isn't that bad. I'm reading over the docs again and I don't think it's as bad as I initially read into it.
This project would benefit from some documentation curation.
Edit: which I suppose I could offer to help with to put my money where my mouth is.
Some notes:
My compose file:
services:
heaper-postgres:
image: ghcr.io/janlunge/heaper-postgres:latest
container_name: heaper-postgres
environment:
POSTGRES_USER: $POSTGRES_USER
POSTGRES_PASSWORD: $POSTGRES_PASSWORD
POSTGRES_DB: $POSTGRES_DB
ports:
- "5432:5432"
volumes:
- /path/to/heaper/postgres:/var/lib/postgresql/data
networks:
- heaper
healthcheck:
test: ["CMD-SHELL", "pg_isready -U heaper -d heaper || exit 1"]
interval: 10s
timeout: 5s
retries: 5
start_period: 20s
heaper:
image: ghcr.io/janlunge/heaper:latest
container_name: heaper
platform: linux/amd64
environment:
HOSTNAME: heaper.caruthers.us
ENABLE_INTERNAL_POSTGRES: "false"
DB_HOST: heaper-postgres:5432
DB_USER: $POSTGRES_USER
DB_PASS: $POSTGRES_PASSWORD
DB_NAME: $POSTGRES_DB
ports:
- "3000:443"
- "4499:80"
volumes:
- /path/to/heaper/config:/usr/src/app/config
- /path/to/heaper/thumbnails:/mnt/thumbnails
- /path/to/heaper/storage:/mnt/storage
networks:
- heaper
depends_on:
heaper-postgres:
condition: service_healthy
healthcheck:
# Docs show example health probes; adjust host/port if your container differs.
test: ["CMD-SHELL", "curl -fsS http://localhost/api >/dev/null || exit 1"]
interval: 15s
timeout: 5s
retries: 5
start_period: 30s
networks:
heaper:
name: heaper
I have the DB, config, and thumbnails on local NVME, and storage on NFS-mounted NAS. Working fine so far.
ETA: Correction in compose file.
Does it store uploaded files in plain text on the file system?
From what I can tell, notes are stored in the DB, but can be exported as JSON, or I think markdown. It sure about markdown. I’ve only been able to export JSON, and it didn’t include the image I had embedded in the note. Whatever isn’t a note (images, movies, pdf, doc, etc.) is stored on the file system in a directory structure that files them under heap -> asset checksum. Thumbnails are included there if applicable. In that regard, it kind of forces you to use its folder structure.
To each their own but I think I prefer to stick to Nextcloud and just continue to keep things organized the old fashioned way for the most part.
Though for documents those all get fed to paperless-ngx
Postgres? Sorry. If it needs a database, it's probably not for me. Can't be asked to keep another database backed up.
almost every self hosted service needs a database. and what "another" database? are you keeping separate postgreses for each service that wants to use it? one of the most important features of postgres is that it as a single database server can hold multiple databases, with permissions and whatnot
From previous interactions in this community, it seems all but obvious nowadays, when peoples' experience with sysadmin in average amounts to running scripts running docker in some form.
What is your struggle with db backups? Databasus makes it so trivial for me personally.
The fact that I have to use a more complicated tool than cd.
The fact that I have to use a more complicated tool than
cd.
But how does changing the current directory backup your files???
Sorry, meant cp.