diff --git a/apps/nginx-proxy-manager/config.json b/apps/nginx-proxy-manager/config.json index 8e57a58..d7aec7e 100755 --- a/apps/nginx-proxy-manager/config.json +++ b/apps/nginx-proxy-manager/config.json @@ -10,14 +10,31 @@ "network" ], "description": "Nginx Proxy Manager enables you to easily forward to your websites running at home or otherwise, including free SSL, without having to know too much about Nginx or Letsencrypt.", - "tipi_version": 1, + "tipi_version": 2, "version": "2.13.5", "source": "https://github.com/NginxProxyManager/nginx-proxy-manager", "website": "https://nginxproxymanager.com", "exposable": true, "dynamic_config": false, "no_gui": false, - "form_fields": [], + "form_fields": [ + { + "type": "number", + "label": "HTTP Port", + "env_variable": "NPM_HTTP_PORT", + "default": "1080", + "required": true, + "hint": "Port for HTTP traffic (mapped to container port 80)" + }, + { + "type": "number", + "label": "HTTPS Port", + "env_variable": "NPM_HTTPS_PORT", + "default": "10443", + "required": true, + "hint": "Port for HTTPS traffic (mapped to container port 443)" + } + ], "supported_architectures": [ "arm64", "amd64" diff --git a/apps/nginx-proxy-manager/docker-compose.yml b/apps/nginx-proxy-manager/docker-compose.yml index 85eaf9a..e8475f0 100755 --- a/apps/nginx-proxy-manager/docker-compose.yml +++ b/apps/nginx-proxy-manager/docker-compose.yml @@ -11,8 +11,8 @@ services: environment: DISABLE_IPV6: "true" ports: - - 1080:80 - - 10443:443 + - ${NPM_HTTP_PORT}:80 + - ${NPM_HTTPS_PORT}:443 - ${APP_PORT}:81 volumes: - ${APP_DATA_DIR}/data:/data