Linus Gasser 420ac387db
continuous-integration/drone/tag Build is passing
chore: publish 0.4.1+v9.3.8 release
2026-12-02 08:03:51 +01:00
2026-09-08 16:33:41 +02:00
2026-09-08 16:33:41 +02:00
2026-08-19 12:37:45 +00:00
2026-08-20 20:56:10 +02:00

euro-office

Euro-Office document server provides a truly open, transparent, and sovereign solution for collaborative document editing.

Quick start

  • abra app new euro-office --secrets
  • abra app config <app-name>
  • abra app deploy <app-name>

This recipe runs only the Euro-Office document server itself, it's a backend service with a client-side document-server architecture, not something end users interact with directly. It's meant to be pointed at by a document-editing frontend such as Nextcloud.

Connecting with Nextcloud

To configure Nextcloud for using Euro-Office:

occ app:install eurooffice
occ config:app:set eurooffice DocumentServerUrl --value="https://<this-recipe-DOMAIN>/"
occ config:app:set eurooffice jwt_secret --value="<jwt secret>"

Multi-tenant mode

The single jwt Docker secret above should not be shared across more than one Nextcloud instance for security reasons. Enabling compose.tenants.yml turns on multi-tenant mode instead, giving each Nextcloud instance its own secret:

COMPOSE_FILE="$COMPOSE_FILE:compose.tenants.yml"
TENANTS_BASE_DOMAIN=euro-office.example.com
TENANTS_TRAEFIK_RULE=Host(`a.euro-office.example.com`) || Host(`b.euro-office.example.com`)

A tenant is identified purely by the Host header of the request reaching this server, so any instance still pointed at the bare DOMAIN keeps using the jwt secret. Only instances pointed at their own subdomain/slug get their own jwt.

TENANTS_BASE_DOMAIN can be the same as DOMAIN, but doesn't have to. TENANTS_TRAEFIK_RULE must be valid Traefik rule syntax. With the default HTTP-01 certresolver, each tenant subdomain needs its own explicit Host(...) entry in the rule, OR'd together, since HTTP-01 can't issue a certificate for a regex/wildcard host. If a DNS-01 challenge is set up for this domain instead, a single wildcard rule can be used: Host(`*.euro-office.example.com`).

To onboard a tenant:

  1. Point a DNS record at this server for the new subdomain.
  2. Add its Host(...) clause to TENANTS_TRAEFIK_RULE and redeploy.
  3. Generate (or fetch, idempotently) its secret:
    abra app cmd -T <this-recipe-domain> app -- get_tenant_jwt <tenant-subdomain>
    
    Pass renew as a second argument to rotate an existing tenant's secret.
  4. Point that Nextcloud instance at https://<tenant-subdomain>.<TENANTS_BASE_DOMAIN>/ with the secret from step 3, as in "Connecting with Nextcloud" above.
S
Description
No description provided
Readme
137 KiB
Languages
Go Template 71.7%
Shell 28.3%