This repository is holding a working docker-compose setup for documentation pourpuses because syncstorage-rs’s documentation is not very good to explain how to self host the new rust syncserver.

With help of it you can self host the new Firefox sync server, which is written in Rust and replaces the old python one, which is deprecated.

  • d3Xt3r@lemmy.nzM
    link
    fedilink
    arrow-up
    25
    arrow-down
    3
    ·
    9 months ago

    Just wanted to say thanks @jeena@jemmy.jeena.net for calling it fxsync and not ffsync, I’m glad there’s still at least one person out there who knows what the proper abbreviation for Firefox should be!

    • oni
      link
      fedilink
      English
      arrow-up
      6
      ·
      9 months ago

      Can you please explain why it should be FX and not FF?

      • Byter@lemmy.one
        link
        fedilink
        arrow-up
        7
        ·
        9 months ago

        Mozilla stated that a while back.

        How do I capitalize Firefox? How do I abbreviate it?

        Only the first letter is capitalized (so it’s Firefox, not FireFox.) The preferred abbreviation is “Fx” or “fx”.

        #8 in the FAQ

    • vector_zero@lemmy.world
      link
      fedilink
      arrow-up
      13
      arrow-down
      2
      ·
      9 months ago

      Probably because it was built to support hundreds of thousands of users, versus the arguably unusual self-hosted single user instance.

    • woelkchen@lemmy.worldOP
      link
      fedilink
      arrow-up
      7
      ·
      edit-2
      9 months ago

      Why does this need 3 mariadb containers?

      Ask the author of the GitHub repo. He made the original !firefox@lemmy.ml submission and will get a notification when you ask there.

      • insomniac@sh.itjust.works
        link
        fedilink
        arrow-up
        5
        ·
        edit-2
        9 months ago

        One is just running a command and exiting. They seem to be using a separate container for sync storage and token storage. Not sure what those are but is likely set up this way for scaling. This could probably be pretty easily worked in to one container with a start up script that runs that SQL command. The overhead of running multiple Mariadb containers isn’t that much though so it probably doesn’t matter much.

    • Rud_1UP@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      9 months ago

      At first I thought why not just SQLite instead of a mariaDB, because as a self hoster you’ll probably have max 10 users on it anyway, is there a benefit to use mariaDB? Then noticed it’s not 1 but 3 seperate DBs ¯\_(ツ)_/¯

    • TCB13@lemmy.world
      link
      fedilink
      English
      arrow-up
      9
      arrow-down
      24
      ·
      edit-2
      9 months ago

      Because its Docker crap ahah

      Here is the thing: in the last few years I came to the conclusion that if a tool isn’t simple enough to install and configure manually with one or two files it isn’t worth my time.

  • beeng@discuss.tchncs.de
    link
    fedilink
    arrow-up
    5
    ·
    9 months ago

    Always wanted to hook up 2 accounts to one dB, so I could share tabs from 1 account and send to another eg work or home. Could this help?

    • Violet_McQuasional@feddit.uk
      link
      fedilink
      arrow-up
      3
      ·
      9 months ago

      Hmm. I wouldn’t risk it, personally. I bet the data that syncs can be quite specific. Have you looked for an extension that can just do tab syncing?

      • beeng@discuss.tchncs.de
        link
        fedilink
        arrow-up
        1
        ·
        9 months ago

        You know the tab send/share function on FF, I basically want that but also another account (work) to be available to send to.

        • Violet_McQuasional@feddit.uk
          link
          fedilink
          arrow-up
          1
          ·
          9 months ago

          Yeah. I don’t know of an extension. I think you could create an extra Firefox profile and run two versions of Firefox (home and work) at once on the home PC. That might be a compromise that works?

  • anteaters@feddit.de
    link
    fedilink
    arrow-up
    5
    arrow-down
    1
    ·
    9 months ago

    I’ve been looking for this just yesterday but apparently all sync info is end to end encrypted anyways and Mozilla has no access to the synchronized data? Is there a reason to self host this but just for the principle of it?

    • moonpiedumplings@programming.dev
      link
      fedilink
      arrow-up
      5
      ·
      9 months ago

      If you have multiple firefox profiles, then you have to create an sync account for each one if you want to sync. Not a good idea if you have 5 profiles, some of them using a main email (like a corp or school) that won’t be around forever.

      Being able to sync multiple profiles with only one account is convenient for me.

    • Rud_1UP@lemmy.world
      link
      fedilink
      arrow-up
      6
      arrow-down
      3
      ·
      9 months ago

      Why should storing your browser history and behaviour with a 3rd party in a 3rd country in a procured 3rd party cloud infra provider and a 3rd party colocation provider be the default? Why not keep that personal information just inside, instead of letting it leave out of the front door? Also, encryption has more to do with confidentiality than security. If someone gets access to your encrypted data all they have to do is encrypt it again, to do harm.