From 517c638d2aab773dd341018a5feabe06a9dae7fa Mon Sep 17 00:00:00 2001 From: daniel-hbn Date: Wed, 30 Jul 2025 14:20:49 +0200 Subject: [PATCH] Docker Files auf Port 5000 umgestellt --- Dockerfile | 3 +-- docker-compose.yaml | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index d09afd9..763710f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -24,8 +24,7 @@ RUN mkdir -p /app/persistence /app/wwwroot/downloads/sqlite /app/logs VOLUME ["/app/persistence", "/app/wwwroot/downloads/sqlite"] # Expose Port 80 und 443 (HTTP + HTTPS) -EXPOSE 80 -EXPOSE 443 +EXPOSE 5000 # Anwendung starten ENTRYPOINT ["dotnet", "Watcher.dll"] diff --git a/docker-compose.yaml b/docker-compose.yaml index 84b6405..397cbd3 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -5,13 +5,13 @@ services: restart: unless-stopped env_file: .env ports: - - "5000:80" + - "5000:5000" volumes: - ./data:/app/persistence - ./dumps:/app/wwwroot/downloads/sqlite - ./logs:/app/logs healthcheck: - test: "curl -f http://localhost:80" + test: "curl -f http://localhost:5000" interval: 1m30s timeout: 30s retries: 5