mirror of
https://github.com/SoPat712/allstarr.git
synced 2026-02-09 23:55:10 -05:00
Move admin UI to separate internal port (5275) for security
- Admin API and static files only accessible on port 5275 - Main proxy port (8080) no longer serves admin endpoints - AdminPortFilter rejects admin requests on wrong port - AdminStaticFilesMiddleware only serves static files on admin port - Port 5275 NOT exposed in Dockerfile or docker-compose by default - Access admin UI via SSH tunnel or by uncommenting port mapping
This commit is contained in:
@@ -24,7 +24,8 @@ RUN mkdir -p /app/downloads
|
||||
|
||||
COPY --from=build /app/publish .
|
||||
|
||||
# Only expose the main proxy port (8080)
|
||||
# Admin UI runs on 5275 but is NOT exposed - access via docker exec or SSH tunnel
|
||||
EXPOSE 8080
|
||||
ENV ASPNETCORE_URLS=http://+:8080
|
||||
|
||||
ENTRYPOINT ["dotnet", "allstarr.dll"]
|
||||
|
||||
Reference in New Issue
Block a user