this post was submitted on 08 Jun 2023
10 points (100.0% liked)

Selfhosted

579 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 2 years 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
[โ€“] thiccdiccnicc 3 points 2 years ago

You can run it from an image without docker-compose but I'd recommend looking into docker-compose if you're not already familiar with it. @CannaVet@lemmy.world has the idea right that it's just a powerful installation file and can automate your docker management process rather well if you're using it a lot.

You can build a container from an image but it's obviously more hands-on. Lemmy may have additional dependencies they include in the compose file that may not be present in the image source. but starting with something like

$ docker run --pull=always --restart=unless-stopped -d -p 80:8080 -v YOUR/PATH/TO/DATA:/data --name lemmy_backend [LEMMYREPO]:latest

and configure that using proper configuration ( the links @Elbullazul@lem.elbullazul.com posted) - reference this for how to do that!

Be prepped for manual updates, though ๐Ÿ˜ณ