Skip to content
This repository has been archived by the owner on May 7, 2023. It is now read-only.

Unprivileged docker image that wraps andrewjfreyer/monitor, with support on running on arm platforms like a raspberry pi.

Notifications You must be signed in to change notification settings

dotWee/docker-bluetooth-presence-monitor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

github status github activity github open issues docker pulls

Unprivileged docker image that wraps andrewjfreyer/monitor, with support on running on arm platforms like a raspberry pi.

pulling

$ docker pull dotwee/bluetooth-presence-monitor:latest
$ docker pull ghcr.io/dotwee/bluetooth-presence-monitor:latest

tags

  • linux/arm/v6
  • linux/arm/v7
  • linux/arm64
  • linux/amd64

running

$ docker run \
    --name bluetooth-presence-monitor \
    -v "${PWD}":/config \
    --net=host \
    --restart always \
    --cap-add NET_ADMIN \
    dotwee/bluetooth-presence-monitor:latest

using docker-compose:

version: '2.2'

services:
  bluetooth-presence-monitor:
    image: dotwee/bluetooth-presence-monitor:latest
    container_name: bluetooth-presence-monitor
    volumes:
      - ./config:/config:rw
      - /sys/fs/cgroup:/sys/fs/cgroup:ro
      # optionally bind your host's time config readonly
      # or use the TZ environment variable
      #- /etc/timezone:/etc/timezone:ro
      #- /etc/localtime:/etc/localtime:ro
    network_mode: host # bluetooth
    restart: always
    cap_add:
      - NET_ADMIN
    # optionally set your timezone (UTC is used by default)
    # environment:
    #   - TZ="Europe/Berlin"