From f7b3742ccf9472fe6f66f9a5a851cf733d10c71e Mon Sep 17 00:00:00 2001 From: Zach Russell Date: Tue, 16 Dec 2025 22:04:47 -0700 Subject: [PATCH 1/2] selkies electron app support --- README.md | 13 +++++-------- compose.yml | 5 +---- root/defaults/autostart | 6 +++++- 3 files changed, 11 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index c8949c1..2068292 100644 --- a/README.md +++ b/README.md @@ -199,19 +199,17 @@ services: beeper: image: ghcr.io/zachatrocity/docker-beeper:latest container_name: beeper - security_opt: - - seccomp:unconfined #optional environment: - PUID=1000 - PGID=1000 - TZ=Etc/UTC + - DARK_MODE=true #optional + - USE_LEGACY_BIN=false volumes: - - /path/to/config:/config + - ./config:/config ports: - - 3000:3000 - - 3001:3001 - devices: - - /dev/dri:/dev/dri #optional + - 3003:3000 + - 3005:3001 shm_size: "1gb" restart: unless-stopped ``` @@ -221,7 +219,6 @@ services: ```bash docker run -d \ --name=beeper \ - --security-opt seccomp=unconfined `#optional` \ -e PUID=1000 \ -e PGID=1000 \ -e TZ=Etc/UTC \ diff --git a/compose.yml b/compose.yml index 238b203..65ed65e 100644 --- a/compose.yml +++ b/compose.yml @@ -2,19 +2,16 @@ services: beeper: build: . container_name: beeper - security_opt: - - seccomp:unconfined environment: - PUID=1000 - PGID=1000 - TZ=Etc/UTC + - DARK_MODE=true #optional - USE_LEGACY_BIN=false volumes: - ./config:/config ports: - 3003:3000 - 3005:3001 - devices: - - /dev/dri:/dev/dri shm_size: "1gb" restart: unless-stopped \ No newline at end of file diff --git a/root/defaults/autostart b/root/defaults/autostart index 669c393..9d33d52 100644 --- a/root/defaults/autostart +++ b/root/defaults/autostart @@ -1,3 +1,6 @@ +# Fix permissions +sudo lsiown -R $(id -u):$(id -u) /opt/beeper + # Enable dark mode if defined if [ "${DARK_MODE}" = "true" ] && [ ! -f "$HOME/.config/gtk-3.0/settings.ini" ]; then mkdir -p $HOME/.config/gtk-3.0 @@ -7,4 +10,5 @@ elif [ "${DARK_MODE}" != "true" ] && [ -f "$HOME/.config/gtk-3.0/settings.ini" ] rm -f "$HOME/.config/gtk-3.0/settings.ini" fi -/opt/beeper/AppRun +export APPDIR='/opt/beeper' +/opt/beeper/AppRun --no-sandbox --disable-gpu From a0a1bceba1ac6c1034dc3b101146a3b2edd1e873 Mon Sep 17 00:00:00 2001 From: Zach Russell Date: Tue, 16 Dec 2025 22:16:37 -0700 Subject: [PATCH 2/2] update readme --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2068292..87e8a02 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,9 @@ services: ## Legacy and Beta Apps -⚠️ Beeper has removed the download links for v3 as far as I can tell. The last version of this image that is compatible with `USE_LEGACY_BIN` is [b16f940](https://github.com/zachatrocity/docker-beeper/pkgs/container/docker-beeper/393086004?tag=sha-b16f940b40f8e2f04d9ecd587d780d407b385ca2) +⚠️ The last version of this image that is compatible with `USE_LEGACY_BIN` and v3 of beeper is [b16f940](https://github.com/zachatrocity/docker-beeper/pkgs/container/docker-beeper/393086004?tag=sha-b16f940b40f8e2f04d9ecd587d780d407b385ca2) + + This Docker image supports both the legacy and beta (v4) versions of Beeper. You can switch between them using the `USE_LEGACY_BIN` environment variable in your docker-compose file: