this post was submitted on 28 Sep 2023
52 points (96.4% liked)

Selfhosted

40183 readers
508 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
 

cross-posted from: https://jemmy.jeena.net/post/185617

I had a hard time setting up the new sync server for Firefox which is written in Rust because the documentation is very bad.

After a lot of try and error and reading comments of people in the issue tracker I finally was able to set it up and run it successfully.

Mostly for my future self, but perhaps it also helps other people I documented it with help of a README and a docker-compose.yaml which makes it easy for me to upgrade if necessary and also to store all the other config files with examples.

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

In my world the standard way of starting and stopping services on Linux is systemd, that is why I added it. I never used the docker way and am not really familiar with it.

But I will try to update it a bit, it's a good point overall.

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

Docker run commands or docker-compose.yml files offer a restart-policy flag that offer various levels of restart behavior which trigger when the container crashes, is stopped or when the Docker service starts (eg after a reboot)