Skip to content

v1.1.0 - Container deployment support

Choose a tag to compare

@NovichekLIS NovichekLIS released this 10 Jul 10:13

Summary

This release adds bridge-only container deployment support for the Gitea ONLYOFFICE Bridge.

Added

  • Dockerfile for running the Flask bridge with Gunicorn as a non-root user.
  • Docker Compose example with persistent /data volume for bridge SQLite state.
  • .env.docker.example for container deployments.
  • Nginx snippet for routing Gitea bridge paths to the container.
  • English Docker installation, upgrade, rollback, and troubleshooting guide.
  • Container packaging tests and validation notes.

Validation

  • Local unit tests: python -m unittest discover -s tests.
  • Local compile check: python -m py_compile gitea_onlyoffice_bridge.py.
  • Hygiene scan for private IPs, local paths, credentials, logs, caches, and database files.
  • Docker host smoke: docker compose config, docker build, docker run, /healthz, Docker HEALTHCHECK=healthy, cleanup verified.

Security Notes

The image contains no deployment secrets. Configure OAuth, bridge secret, and optional ONLYOFFICE JWT secret through .env.docker or your container runtime secret mechanism. Keep /data private and run one bridge replica unless you add shared state and sticky routing.