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 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