this post was submitted on 18 Apr 2025
35 points (88.9% liked)

Selfhosted

46265 readers
302 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.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. 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.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

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

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

I've got forgejo configured and running as a custom docker app, but I've noticed there's a community app available now. I like using the community apps when available since I can keep them updated more easily than having to check/update image tags.

Making the switch would mean migrating from sqlite to postgres, plus some amount of file restructuring. It'll also tie my setup to truenas, which is a platform I like, but after being bit by truecharts I'm nervous about getting too attached to any platform.

Has anyone made a similar migration and can give suggestions? All I know about the postgres config is where the data is stored, so I'm not even sure how I'd connect to import anything. Is there a better way to get notified about/apply container images for custom apps instead?

you are viewing a single comment's thread
view the rest of the comments
[–] jlh@lemmy.jlh.name 16 points 1 week ago* (last edited 1 week ago) (19 children)

nah you're probably not going to get any benefits from it. The best way to make your setup more maintainable is to start putting your compose/kubernetes configuration in git, if you're not already.

[–] irmadlad@lemmy.world 4 points 1 week ago (17 children)

setup more maintainable is to start putting your compose/kubernetes configuration in git, if you’re not already.

I don't want to derail this thread, but you piqued my interest in something I've always wanted to do, maybe just for the learning aspect, and to see what I could accomplish.

I've always wanted to see if I could have all my docker compose/run files, and various associated files to a git where I could just reinitialize a server, with everything I already have installed previously. So, I could just fire up a script, and have it pull all my config files, docker images, the works from the git, and set up a server with basically one initial script. I have never used github or others of that genre, except for installation instructions for a piece of software, so I'm a little lost on how I would set that up or if there are better options.

[–] enemenemu@lemm.ee 4 points 1 week ago (2 children)

Your description does not sound related to git. It sounds more like nix

[–] irmadlad@lemmy.world 3 points 1 week ago (1 children)
[–] enemenemu@lemm.ee 2 points 6 days ago

Nix is great for reproducibility

[–] filister@lemmy.world 1 points 1 week ago

Yes, and Nix is another bag of worms. My suggestion is first try to backup your Docker compose file and the configuration files, you can define in .gitignore which files or dirs to ignore and not backup. You don't need any automated installation for your server, as it is fairly standard but you can easily do that if you run it as a VM on top of Proxmox and just create a snapshot of your VM.

load more comments (14 replies)
load more comments (15 replies)