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.

  • MaggiWuerze@feddit.de
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    1 year ago

    What is the reason for the systemd service? Looks to me like it only supplements the standard docker restart function. Can it be run without it? Then maybe mark it as optional while pointing out the benefits

    • 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)