Docker Files auf Port 5000 umgestellt
This commit is contained in:
@@ -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"]
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user