From c96750cc5656b54642dd38c2cdb9586b3fa0f344 Mon Sep 17 00:00:00 2001 From: RT <13197246+slikie@users.noreply.github.com> Date: Sun, 30 Jun 2024 17:33:19 +0800 Subject: [PATCH 1/2] add compose guide --- docker/README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/docker/README.md b/docker/README.md index 83af891..34d2b32 100644 --- a/docker/README.md +++ b/docker/README.md @@ -21,3 +21,20 @@ docker run \ The container should work fine as any user (as long as the mounted `/data` directory is writable), so you can just use the standard `--user` flag to change the UID/GID. + +## Docker Compose +Or rather, on personal VPS, use this compose file for easier management. + +```yaml +version: '3' +services: + beeper-bridge-manager: + image: ghcr.io/beeper/bridge-manager:latest + volumes: + - ./data:/data + environment: + - MATRIX_ACCESS_TOKEN=... + entrypoint: + - /usr/local/bin/run-bridge.sh + - sh-heisenbridge +``` From 5f86dd21da7a37f1b17d6a270a0c212464d19f01 Mon Sep 17 00:00:00 2001 From: slikie <13197246+slikie@users.noreply.github.com> Date: Mon, 9 Dec 2024 17:12:42 +0100 Subject: [PATCH 2/2] Apply suggestions from code review Co-authored-by: Paul --- docker/README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docker/README.md b/docker/README.md index 34d2b32..922f744 100644 --- a/docker/README.md +++ b/docker/README.md @@ -26,9 +26,8 @@ change the UID/GID. Or rather, on personal VPS, use this compose file for easier management. ```yaml -version: '3' services: - beeper-bridge-manager: + sh-heisenbridge: image: ghcr.io/beeper/bridge-manager:latest volumes: - ./data:/data