Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 8 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down Expand Up @@ -199,19 +201,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
```
Expand All @@ -221,7 +221,6 @@ services:
```bash
docker run -d \
--name=beeper \
--security-opt seccomp=unconfined `#optional` \
-e PUID=1000 \
-e PGID=1000 \
-e TZ=Etc/UTC \
Expand Down
5 changes: 1 addition & 4 deletions compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
17 changes: 13 additions & 4 deletions root/defaults/autostart
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
if [ "$(whoami)" != "abc" ]; then
sudo lsiown -R $(id -u):$(id -u) \
/opt/beeper/beepertexts
# 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
echo '[Settings]' > $HOME/.config/gtk-3.0/settings.ini
echo 'gtk-application-prefer-dark-theme=1' >> $HOME/.config/gtk-3.0/settings.ini
elif [ "${DARK_MODE}" != "true" ] && [ -f "$HOME/.config/gtk-3.0/settings.ini" ]; then
rm -f "$HOME/.config/gtk-3.0/settings.ini"
fi
beeper

export APPDIR='/opt/beeper'
/opt/beeper/AppRun --no-sandbox --disable-gpu
Loading