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.

  • Jeena@jemmy.jeena.netOP
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    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.

    • MaggiWuerze@feddit.de
      link
      fedilink
      English
      arrow-up
      2
      ·
      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)