поправки косяков, ну типа
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2025-10-06 15:30:51 +03:00
parent a256ef99c0
commit f6029fd89f
4 changed files with 6 additions and 6 deletions

View File

@@ -19,12 +19,13 @@ services:
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: ${POSTGRESPASS}
POSTGRES_DATABASE: visa
ports:
- "5432:5432"
- "5433:5432"
networks:
- app-network
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres -d auth"]
test: ["CMD-SHELL", "pg_isready -U postgres -d visa"]
interval: 5s
timeout: 5s
retries: 10

View File

@@ -7,6 +7,5 @@ RUN dotnet publish "SchengenVisaApi/SchengenVisaApi.csproj" -c Release -o /app/p
FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS runtime
WORKDIR /app
COPY --from=build /app/publish ./
ENV ASPNETCORE_URLS=http://*:5000
EXPOSE 5000
ENTRYPOINT ["dotnet", "SchengenVisaApi.dll"]

View File

@@ -14,7 +14,7 @@
"dotnetRunMessages": true,
"launchBrowser": true,
"launchUrl": "swagger",
"applicationUrl": "http://localhost:5022",
"applicationUrl": "http://localhost:5000",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
@@ -24,7 +24,7 @@
"dotnetRunMessages": true,
"launchBrowser": true,
"launchUrl": "swagger",
"applicationUrl": "https://localhost:7168;http://localhost:5022",
"applicationUrl": "http://localhost:5000",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}

View File

@@ -7,7 +7,7 @@
},
"AllowedHosts": "*",
"urls": "http://localhost:5003;https://localhost:7168",
"urls": "http://*:5000",
"ConnectionStrings": {
"connectionString": "Host=localhost;Port=5432;Database=visa;Username=postgres;Password=Qwerty123456!"