Fix npm app: add schemaVersion, fix internalPort
Some checks failed
Test / test (push) Has been cancelled

- Added schemaVersion: 2 to docker-compose.json
- Changed internalPort from env var to number (81)
- Fixes 'invalid hostPort: NaN' error

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-01-13 11:29:28 +00:00
parent 1eee23953c
commit 33aa6d361e

View File

@@ -1,10 +1,11 @@
{
"schemaVersion": 2,
"services": [
{
"name": "npm",
"image": "jc21/nginx-proxy-manager:2.13.5",
"isMain": true,
"internalPort": "${NPM_WEBUI_PORT}",
"internalPort": 81,
"addPorts": [
{
"hostPort": "${NPM_HTTP_PORT}",