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.59k stars 243 forks source link

Cannot connect to ui #555

Closed Masterpc96 closed 5 months ago

Masterpc96 commented 9 months ago

Current Situation

I made a container I can add homebridge to home but I cannot open ui on port 8581 Dell Optiplex with Debian 12

Docker Config

version: '3'
services:
  homebridge:
    image: homebridge/homebridge:latest
    container_name: homebridge
    restart: always
    network_mode: host
    logging:
      driver: json-file
      options:
        max-size: '10m'
        max-file: '1'
    healthcheck:
      test: curl --fail localhost:8581 || exit 1
      interval: 60s
      retries: 5
      start_period: 300s
      timeout: 2s
    environment:
      - PGID=1000
      - PUID=1000
      - HOMEBRIDGE_CONFIG_UI=1
      - HOMEBRIDGE_CONFIG_UI_PORT=8581
    volumes:
      - homebridge:/homebridge
volumes:
  homebridge:

Logs

No response

Host Operating System

Debian 12

Host Architecture

x86_64 / amd64

NorthernMan54 commented 9 months ago

Any logs from the container?

vernlazaro commented 8 months ago

Did you ever figure this out? I have the same issue with a new install of TrueNAS.

nvm. Adding a static IP address seems to have resolved the issue.

zikronix commented 7 months ago

i have this problem with portainer on a fresh install. you shouldnt have to add a static ip

github-actions[bot] commented 6 months 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.

github-actions[bot] commented 5 months 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.

github-actions[bot] commented 5 months ago

This issue has been closed as no further activity has occurred.