From 127e810daa0fa6b174c28b62cc274bfdd53be4c0 Mon Sep 17 00:00:00 2001 From: SysAdmin Date: Wed, 24 Sep 2025 13:18:52 +0100 Subject: [PATCH] Fix port configuration: Use port 8080 for ASP.NET Core 9 --- docker-compose.hostinger.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docker-compose.hostinger.yml b/docker-compose.hostinger.yml index ae185b2..cb4ad90 100644 --- a/docker-compose.hostinger.yml +++ b/docker-compose.hostinger.yml @@ -6,10 +6,10 @@ services: container_name: littleshop-admin restart: unless-stopped ports: - - "127.0.0.1:5100:5000" # Local only, BunkerWeb will proxy + - "127.0.0.1:5100:8080" # Local only, BunkerWeb will proxy environment: - ASPNETCORE_ENVIRONMENT=Production - - ASPNETCORE_URLS=http://+:5000 + - ASPNETCORE_HTTP_PORTS=8080 - ConnectionStrings__DefaultConnection=Data Source=/app/data/littleshop-production.db # JWT Configuration - Production Secret @@ -45,7 +45,7 @@ services: - /opt/littleshop/logs:/app/logs network_mode: bridge # Use default bridge to communicate with other containers healthcheck: - test: ["CMD", "curl", "-f", "http://localhost:5000/api/catalog/products"] + test: ["CMD", "curl", "-f", "http://localhost:8080/api/catalog/products"] interval: 30s timeout: 10s retries: 3