diff --git a/CHANGELOG.md b/CHANGELOG.md index 3c6fe55..8cac10c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 1.2.1 - 2026-09-15 + +- Set the Docker Compose container host binding to `0.0.0.0` so Docker's localhost port mapping can reach h-player while keeping the host publish on `127.0.0.1`. + ## 1.2.0 - 2026-09-15 - Renamed the project and user-facing app identity to `h-player`. diff --git a/README.md b/README.md index f71de30..17e3aab 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ docker compose up --build Open http://localhost:3000. -The app binds to `127.0.0.1` by default, so it is only reachable from the same machine unless you explicitly set `HOST`. The compose file publishes the container on `127.0.0.1:3000`. Your library is mounted read-only, while metadata and generated thumbnails are saved in `/data` inside the container. +The app binds to `127.0.0.1` by default when run directly. Docker Compose sets `HOST=0.0.0.0` inside the container so Docker's port forward can reach the app, while still publishing the host port only on `127.0.0.1:3000`. Your library is mounted read-only, while metadata and generated thumbnails are saved in `/data` inside the container. The included compose file keeps the existing `/mnt/ssd2/docker_data/h-play` host data path so renaming the app to h-player does not hide metadata from an already-running instance. Move that directory yourself before changing the mount path. diff --git a/VERSION b/VERSION index 26aaba0..6085e94 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.2.0 +1.2.1 diff --git a/docker-compose.yml b/docker-compose.yml index e1dba03..895a90c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -5,6 +5,7 @@ services: ports: - "127.0.0.1:3000:3000" environment: + HOST: 0.0.0.0 LIBRARY_DIR: /library DATA_DIR: /data # Uncomment these to require browser Basic Auth. diff --git a/package.json b/package.json index ad051e2..9ba07d2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "h-player", - "version": "1.2.0", + "version": "1.2.1", "private": true, "description": "A small private web app for browsing a folder-based video collection.", "scripts": {