Docker Files auf Port 5000 umgestellt

This commit is contained in:
2025-07-30 14:20:49 +02:00
parent 270207aabe
commit 517c638d2a
2 changed files with 3 additions and 4 deletions

View File

@@ -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"]

View File

@@ -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