Fix port configuration: Use port 8080 for ASP.NET Core 9
This commit is contained in:
parent
4f0724e94d
commit
127e810daa
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user