GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — firefox-sync/charts/firefox-sync at main · porelli/firefox-sync

Expand file tree

/

firefox-sync

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
/

firefox-sync

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
ci
ci
 
 
files
files
 
 
templates
templates
 
 
Chart.yaml
Chart.yaml
 
 
README.md
README.md
 
 
values.schema.json
values.schema.json
 
 
values.yaml
values.yaml
 
 

README.md

Outline

firefox-sync

Self-hosted Firefox Sync: Mozilla's syncstorage-rs with its tokenserver and its databases (MariaDB, MySQL or PostgreSQL, or your own server), and optionally an admin UI, nightly backups and self-hosted Mozilla accounts. Firefox stores its Sync data, encrypted by Firefox, on your cluster. The images are those of porelli/firefox-sync, which also runs with docker compose and Podman.

The full guide: Install with Helm.

Install

Kubernetes 1.27 or later, Helm 4 (tested; Helm 3.16 or later is known to work, not tested in CI).

helm install ffs oci://ghcr.io/porelli/firefox-sync/charts/firefox-sync --version <chart version> \
  -f my-values.yaml --wait --timeout 10m

<chart version>: the newest, which helm show chart oci://ghcr.io/porelli/firefox-sync/charts/firefox-sync prints (version:).

syncDomain: https://sync.example.com
maxUsers: "5"
ingress:
  enabled: true
  className: nginx
  tls:
    enabled: true
    secretName: sync-example-com-tls
  annotations:
    cert-manager.io/cluster-issuer: letsencrypt-prod
    nginx.ingress.kubernetes.io/proxy-body-size: "10m"

Then set up Firefox: Set up Firefox.

Values

Every value is described in values.yaml. The main ones:

Value Default
syncDomain required the public URL of the Sync server
maxUsers "1" how many accounts can use it: the forms
allowedAccounts "" (off) invite-only Sync, the account ids that can start to sync: SYNC_ALLOWED_ACCOUNTS
database.backend mariadb mariadb, mysql or postgres
database.bundled true false: your own server, database.external.* and existingSecret
existingSecret a Secret of your own; required with your own server and with helm template or GitOps rendering
ingress.* off the Sync server's Ingress
admin.enabled, admin.* off the admin UI; admin.ingress.* for its own Ingress, behind your own sign-in
backup.enabled, backup.* off a CronJob dumping the databases into a PVC
smtp.* none the SMTP server of the admin UI's alerts and of the accounts' emails
fxa.enabled, fxa.* off the self-hosted Mozilla accounts, on four hosts of their own: Self-hosted accounts

Good to know

  • The generated Secret (<release>-firefox-sync) is read back on upgrades and kept on helm uninstall, like the database volumes. Keep a copy off the cluster.
  • One Sync server replica, and one of each accounts server: the migrations run in their init containers.
  • With the accounts, keep a copy of their signing keys off the cluster: the NOTES give the command.
  • Release names have a maximum length, which depends on the components: see Limits. Longer names are refused at render time.
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.