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>
39 lines
798 B
JSON
39 lines
798 B
JSON
{
|
|
"schemaVersion": 2,
|
|
"services": [
|
|
{
|
|
"name": "npm",
|
|
"image": "jc21/nginx-proxy-manager:2.13.5",
|
|
"isMain": true,
|
|
"internalPort": 81,
|
|
"addPorts": [
|
|
{
|
|
"hostPort": "${NPM_HTTP_PORT}",
|
|
"containerPort": 80
|
|
},
|
|
{
|
|
"hostPort": "${NPM_HTTPS_PORT}",
|
|
"containerPort": 443
|
|
},
|
|
{
|
|
"hostPort": "${NPM_WEBUI_PORT}",
|
|
"containerPort": 81
|
|
}
|
|
],
|
|
"environment": {
|
|
"DISABLE_IPV6": "true"
|
|
},
|
|
"volumes": [
|
|
{
|
|
"hostPath": "${APP_DATA_DIR}/data",
|
|
"containerPath": "/data"
|
|
},
|
|
{
|
|
"hostPath": "${APP_DATA_DIR}/letsencrypt",
|
|
"containerPath": "/etc/letsencrypt"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|