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"]
|
VOLUME ["/app/persistence", "/app/wwwroot/downloads/sqlite"]
|
||||||
|
|
||||||
# Expose Port 80 und 443 (HTTP + HTTPS)
|
# Expose Port 80 und 443 (HTTP + HTTPS)
|
||||||
EXPOSE 80
|
EXPOSE 5000
|
||||||
EXPOSE 443
|
|
||||||
|
|
||||||
# Anwendung starten
|
# Anwendung starten
|
||||||
ENTRYPOINT ["dotnet", "Watcher.dll"]
|
ENTRYPOINT ["dotnet", "Watcher.dll"]
|
||||||
|
@@ -5,13 +5,13 @@ services:
|
|||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
env_file: .env
|
env_file: .env
|
||||||
ports:
|
ports:
|
||||||
- "5000:80"
|
- "5000:5000"
|
||||||
volumes:
|
volumes:
|
||||||
- ./data:/app/persistence
|
- ./data:/app/persistence
|
||||||
- ./dumps:/app/wwwroot/downloads/sqlite
|
- ./dumps:/app/wwwroot/downloads/sqlite
|
||||||
- ./logs:/app/logs
|
- ./logs:/app/logs
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: "curl -f http://localhost:80"
|
test: "curl -f http://localhost:5000"
|
||||||
interval: 1m30s
|
interval: 1m30s
|
||||||
timeout: 30s
|
timeout: 30s
|
||||||
retries: 5
|
retries: 5
|
||||||
|
Reference in New Issue
Block a user