{% extends "base.html" %} {% block content %}
{{ _('Sync is configured in the .env file of this server, so this page is read-only. Edit OCRROUTE_SYNC_* there and restart.') }}
{{ _('Loading…') }}

{{ _('A cluster shares one configuration between servers: providers, credentials, routes, API keys and users are edited on the primary and copied to every member. OCR history, usage and cache stay on each server.') }}

{{ _('Create a cluster') }}

{{ _('This server becomes the primary: you edit the configuration here, then add other servers with join codes.') }}

{{ _('Join a cluster') }}

{{ _('Paste the join code created for this server on the primary (Cluster > Add servers). This server then copies the primary\'s configuration.') }}

{{ _('Joining replaces this server\'s providers, credentials, routes, API keys and users with the primary\'s: sign in with an account from the primary afterwards.') }}
{{ _('This server is the primary: configuration changes made here are copied to every member.') }}
{{ _('Delete the cluster? Members are refused from now on and keep the configuration they have. This server stays as it is.') }}
{{ _('Members') }} 0
{{ _('Add servers') }}
{{ _('Name') }} *
{{ _('Notes (optional)') }}
{{ _('Join codes') }}
{{ _('On each server, open Cluster > Join a cluster and paste its own code. A code contains that server\'s secret: send it privately.') }}
{{ _('Addresses in the join codes') }}
{{ _('Members reach this primary through these addresses, best first (tunnels, public URL, LAN). They are included in every join code and members are told when they change.') }}
{{ _('This server only listens on 127.0.0.1 and has no tunnel or public URL, so other computers cannot reach it. Start a tunnel on the Endpoints page, or set OCRROUTE_HOST=0.0.0.0 in .env and restart.') }}
{{ _('This server is a member: it copies the primary\'s configuration, which is read-only here.') }}
{{ _('Leave the cluster? This server stops copying the primary and keeps the configuration it has now.') }}
{{ _('Connection to the primary') }}
{{ _('Members') }} 0
{% endblock %} {% block scripts %}{% endblock %}