this post was submitted on 08 Jun 2023
4 points (66.7% liked)

Selfhosted

39435 readers
6 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 1 year ago
MODERATORS
 

Right now it looks like you can only run lemmy in docker-compose, is there work on an official container?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 3 points 1 year ago (1 children)

Yes, but the benefit of an official image would be that I wouldn't have to recreate it when a new version was released, it would update itself when I reload the container.

[–] [email protected] 2 points 1 year ago (2 children)

Do you need to recreate the container? Can you update the applications in the container?

[–] [email protected] 2 points 1 year ago

I have a container running Watchtower and it checks once a week for any updated images so I can go through and update whatever needs updating myself. IIRC there's an option to have it automatically update stuff but I don't know nearly enough yet to be comfortable with that - If something is going to break let me break it myself so I can troubleshoot it haha.

I use Portainer as a GUI docker management system, and in regards to updating I can just hit a "Recreate" button and select "re-pull image" to update them. As long as you have the containers tied to persistent data folders it just pulls the latest image and ""re-installs"" it per your docker-compose file and everything is just as you left it.

[–] [email protected] 2 points 1 year ago (1 children)

I mean, I know I don't have to recreate it when I use a normal container, but I'm not clear when using compose

[–] [email protected] 2 points 1 year ago (1 children)

Hopefully someone with knowledge can weigh in.

[–] [email protected] 2 points 1 year ago (1 children)

You can do whatever you want inside the container. If you wanted to update inside it, you can, but it's probably not worth the effort. The downtime depending on the app can be just a few seconds when you rebuild the container.

[–] [email protected] 1 points 1 year ago

That makes sense