diff --git a/Dockerfile b/Dockerfile index 20f5f64..4f32a47 100644 --- a/Dockerfile +++ b/Dockerfile @@ -27,9 +27,9 @@ COPY --from=build /app/publish . # Override connection string to use /app/data/asadi.db (volume path) ENV ConnectionStrings__Default="Data Source=/app/data/asadi.db" -ENV ASPNETCORE_URLS="http://+:8080" +ENV ASPNETCORE_URLS="http://+:3410" ENV ASPNETCORE_ENVIRONMENT="Production" -EXPOSE 8080 +EXPOSE 3410 ENTRYPOINT ["dotnet", "AsadiTools.dll"] diff --git a/docker-compose.yml b/docker-compose.yml index 91e492e..07c21e5 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -8,7 +8,7 @@ services: container_name: asadi-tools restart: unless-stopped ports: - - "8080:8080" + - "3410:3410" volumes: # SQLite database persisted on host - asadi_data:/app/data @@ -16,7 +16,7 @@ services: - ASPNETCORE_ENVIRONMENT=Production - ConnectionStrings__Default=Data Source=/app/data/asadi.db healthcheck: - test: ["CMD-SHELL", "curl -f http://localhost:8080/ || exit 1"] + test: ["CMD-SHELL", "curl -f http://localhost:3410/ || exit 1"] interval: 30s timeout: 10s retries: 3