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