Sign inSign up

sinups/layers-office

By sinups

Updated 5 months ago

Serverless OnlyOffice editor for Layers App Store

Image
0

680

sinups/layers-office repository overview

layers-office

Serverless OnlyOffice editor packaged as a standalone Docker image for the Layers App Store.

  • Published: sinups/layers-office (multi-arch: linux/amd64, linux/arm64)
  • Installed into Layers via the godmode App Store; the main server exposes the running container through the /office/ HTTP proxy and the SPA falls back to a "module disabled" state when the image is not deployed.

What's inside

Location inside the imageServed atContents
/usr/share/nginx/html/v<DS_VERSION>-<HASH>//v<DS_VERSION>-<HASH>/*OnlyOffice DocumentServer assets (sdkjs, web-apps, fonts, plugins)
/usr/share/nginx/html/runtime//runtime/*Vite-built serverless editor bundle (mock socket, XHR proxy, x2t plumbing)
/usr/share/nginx/html/x2t-1//x2t-1/*Vendored x2t WASM conversion worker
/usr/share/nginx/html/templates//templates/*Document templates (docx/xlsx/pptx) + previews + templates.json manifest

Local build

docker build -t layers-office:dev .
docker run --rm -p 18181:80 layers-office:dev

Visit http://localhost:18181/ for a plain health response, or http://localhost:18181/templates/templates.json to confirm the templates catalogue is reachable.

Release pipeline

Push to main → GitHub Actions (.github/workflows/release.yml) builds multi-arch image on a self-hosted Layers runner and pushes to Docker Hub as:

  • sinups/layers-office:<short-sha> — immutable per-commit tag
  • sinups/layers-office:latest — rolling, matches the last main commit
  • sinups/layers-office:<semver> — when pushing a v1.2.3 tag

The workflow prints the published manifest digest in the job summary; pin that digest in downstream catalog.json entries.

Required secrets

NamePurpose
DOCKERHUB_USERNAMEDocker Hub user owning the sinups/layers-office repository
DOCKERHUB_TOKENAccess token with write scope for that repository

Licensing

OnlyOffice DocumentServer assets are included under AGPL-3.0. This wrapper imitates the upstream reference at ziziyi/office-website-main.

Tag summary

Content type

Image

Digest

sha256:7f277f1da

Size

723.3 MB

Last updated

5 months ago

docker pull sinups/layers-office