homebridge / docker-homebridge

Homebridge Docker. HomeKit support for the impatient using Docker on x86_64, Raspberry Pi (armhf) and ARM64. Includes ffmpeg + libfdk-aac.
https://hub.docker.com/r/homebridge/homebridge/
GNU General Public License v3.0
2.57k stars 240 forks source link

help on **docker build** of an unaltered image from your git repo. What docker flags ... #411

Closed grsilver closed 2 years ago

grsilver commented 2 years ago

Describe Your Problem:

Hello, I love this project. It has great value to me. Can you please kindly help me on a docker build of an unaltered image from your git repo? What docker flags do you use to build? Are you using buildX for docker multi-cpu cross architecture?

Thank you very much!

WHY? I'm trying to apply Datadog telemetry for monitoring as in here grsilver/homebridge-docker-datadog

docker buildx  \
 build  \
 --load  \
 --platform linux/arm64 \
 -t  \
 grsilver/homebridge-oznu-b_pi-src_git:v003  \
version: '2'
services:
  homebridge:
    image: grsilver/homebridge-oznu-b_pi-src_git:v002
    # image: grsilver/homebridge-oznu-built_oznu_save_state:v001
    # image: grsilver/homebridge-oznu-b_pi-src_from_oznu:v001
    # image: oznu/homebridge:latest
    # image: oznu/homebridge:ubuntu
    restart: always
    network_mode: host
    container_name: grsilver-homebridge
    platform: linux/arm64/v8
    volumes:
      - ./config:/homebridge
    environment:
      - TZ=America/New_York
      - PGID=1000
      - PUID=1000
      - HOMEBRIDGE_CONFIG_UI=1
      - HOMEBRIDGE_CONFIG_UI_PORT=8581
      - DD_ENV="dev"
      - DD_SERVICE="homebridge-grsilver"
      - DD_VERSION="00.00.001"

Logs:

Having trouble getting them

Docker Start Command:

docker run --net=host ...

Homebridge Config:

Show your homebridge config.json here

NA

Screenshots:

Environment:

github-actions[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.