From 38e4af230f2ec109882818d200cc296864021a30 Mon Sep 17 00:00:00 2001 From: eduard256 Date: Wed, 26 Nov 2025 12:57:45 +0300 Subject: [PATCH 1/2] Use host network mode for Docker deployments - Update docker run command to use --network host - Update docker-compose.yml to use network_mode: host - Update docker-compose.full.yml to use network_mode: host - Remove port mappings as they are not needed with host network --- README.md | 2 +- docker-compose.full.yml | 5 +---- docker-compose.yml | 4 +--- 3 files changed, 3 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 83a27e9..746b9bc 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ ### Ubuntu / Debian ```bash -sudo apt update && command -v docker >/dev/null 2>&1 || curl -fsSL https://get.docker.com | sudo sh && docker run -d --name strix -p 4567:4567 --restart unless-stopped eduard256/strix:latest +sudo apt update && command -v docker >/dev/null 2>&1 || curl -fsSL https://get.docker.com | sudo sh && docker run -d --name strix --network host --restart unless-stopped eduard256/strix:latest ``` Open **http://YOUR_SERVER_IP:4567** diff --git a/docker-compose.full.yml b/docker-compose.full.yml index 3aaf514..18b7b64 100644 --- a/docker-compose.full.yml +++ b/docker-compose.full.yml @@ -9,13 +9,10 @@ services: image: eduard256/strix:latest container_name: strix restart: unless-stopped - ports: - - "4567:4567" + network_mode: host environment: - STRIX_LOG_LEVEL=info - STRIX_LOG_FORMAT=json - networks: - - cameras healthcheck: test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:4567/api/v1/health"] interval: 30s diff --git a/docker-compose.yml b/docker-compose.yml index f69839c..8e705a2 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -7,9 +7,7 @@ services: # build: . container_name: strix restart: unless-stopped - - ports: - - "4567:4567" + network_mode: host environment: # Logging configuration From 9975aa71de9fb8138621bbaed809cc3c151cff52 Mon Sep 17 00:00:00 2001 From: eduard256 Date: Wed, 26 Nov 2025 13:01:27 +0300 Subject: [PATCH 2/2] Release v1.0.8: Use host network mode for Docker deployments --- CHANGELOG.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index df304b8..5a01af1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,19 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.0.8] - 2025-11-26 + +### Changed +- Updated Docker deployment to use host network mode for better compatibility +- Modified docker-compose.yml to use `network_mode: host` +- Updated installation commands to use `--network host` flag +- Removed port mappings as they are not needed with host network mode + +### Improved +- Better compatibility with unprivileged LXC containers +- Simplified Docker networking configuration +- Direct network access for improved camera discovery performance + ## [1.0.7] - 2025-11-23 ### Fixed