mirror of
https://github.com/Inside4ndroid/TMDB-Embed-API.git
synced 2026-10-22 17:45:11 +00:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ddd75bbddb |
@@ -2,14 +2,6 @@
|
||||
|
||||
All notable changes to this project will be documented in this file.
|
||||
|
||||
## [1.0.3] - 2025-09-17
|
||||
|
||||
### Fixed
|
||||
- Server now binds to `0.0.0.0` by default so Docker port publishing works correctly from the host. Added `BIND_HOST=0.0.0.0` in Dockerfile and compose.
|
||||
|
||||
### Notes
|
||||
- If you were seeing `ERR_CONNECTION_REFUSED` on `http://localhost:8787`, pull the latest image or rebuild, then re-run with `-p 8787:8787`.
|
||||
|
||||
## [1.0.2] - 2025-09-17
|
||||
|
||||
### Fixed
|
||||
@@ -45,7 +37,6 @@ All notable changes to this project will be documented in this file.
|
||||
## [1.0.0] - 2025-09-16
|
||||
- Initial stable release.
|
||||
|
||||
[1.0.3]: https://github.com/Inside4ndroid/TMDB-Embed-API/compare/v1.0.2...v1.0.3
|
||||
[1.0.2]: https://github.com/Inside4ndroid/TMDB-Embed-API/compare/v1.0.1...v1.0.2
|
||||
[1.0.1]: https://github.com/Inside4ndroid/TMDB-Embed-API/compare/v1.0.0...v1.0.1
|
||||
|
||||
|
||||
@@ -22,7 +22,6 @@ ARG VERSION=dev
|
||||
WORKDIR /app
|
||||
ENV NODE_ENV=production \
|
||||
API_PORT=8787 \
|
||||
BIND_HOST=0.0.0.0 \
|
||||
APP_VERSION=${VERSION}
|
||||
|
||||
# Create non-root user
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<img src="https://img.shields.io/badge/Node.js-18%2B-brightgreen?style=flat" />
|
||||
<img src="https://img.shields.io/badge/Status-Active-success?style=flat" />
|
||||
<img src="https://img.shields.io/badge/License-MIT-blue?style=flat" />
|
||||
<img src="https://img.shields.io/badge/Version-1.0.3-informational?style=flat" />
|
||||
<img src="https://img.shields.io/badge/Version-1.0.2-informational?style=flat" />
|
||||
<img src="https://img.shields.io/docker/pulls/inside4ndroid/tmdb-embed-api?label=Docker%20Pulls&style=flat" />
|
||||
</p>
|
||||
|
||||
|
||||
+2
-6
@@ -374,12 +374,8 @@ app.get('/api/streams/:provider/:type/:tmdbId', async (req,res) => {
|
||||
});
|
||||
|
||||
const PORT = config.port;
|
||||
const HOST = process.env.BIND_HOST || '0.0.0.0';
|
||||
const server = app.listen(PORT, HOST, () => {
|
||||
console.log(`TMDB Embed REST API listening on http://${HOST}:${PORT}`);
|
||||
if (HOST !== 'localhost') {
|
||||
console.log(`Local access (if running on your machine): http://localhost:${PORT}`);
|
||||
}
|
||||
const server = app.listen(PORT, () => {
|
||||
console.log(`TMDB Embed REST API listening on http://localhost:${PORT}`);
|
||||
console.log('Endpoints:');
|
||||
console.log(' GET /api/health');
|
||||
console.log(' GET /api/metrics');
|
||||
|
||||
@@ -9,7 +9,6 @@ services:
|
||||
# Alternative: supply JSON array
|
||||
# - TMDB_API_KEYS=["key1","key2"]
|
||||
- API_PORT=8787
|
||||
- BIND_HOST=0.0.0.0
|
||||
# FebBox cookies (comma separated) if you want Showbox immediately functional
|
||||
- FEBBOX_COOKIES=${FEBBOX_COOKIES:-}
|
||||
ports:
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "tmdb-embed-api",
|
||||
"version": "1.0.3",
|
||||
"version": "1.0.2",
|
||||
"description": "Standalone streaming embed source aggregation API (TMDB ID in, streams out)",
|
||||
"main": "apiServer.js",
|
||||
"scripts": {
|
||||
|
||||
@@ -16,4 +16,4 @@
|
||||
"disable4khdhubUrlValidation": false,
|
||||
"excludeCodecsRaw": "{\"excludeDV\":false,\"excludeHDR\":false}",
|
||||
"minQualitiesRaw": "all"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user