feature/user-authentication #2

Merged
lasserh merged 31 commits from feature/user-authentication into main 2026-06-07 13:17:55 +02:00
2 changed files with 1 additions and 17 deletions
Showing only changes of commit 9f45c6de9c - Show all commits

View file

@ -47,9 +47,5 @@ ENV ASPNETCORE_ENVIRONMENT=Production
# Expose port # Expose port
EXPOSE 8080 EXPOSE 8080
# Health check - use bash /dev/tcp to check port (no curl needed)
HEALTHCHECK --interval=30s --timeout=3s --start-period=15s --retries=3 \
CMD bash -c "echo > /dev/tcp/localhost/8080 || exit 1"
# Entry point # Entry point
ENTRYPOINT ["dotnet", "GermanApp.dll"] ENTRYPOINT ["dotnet", "GermanApp.dll"]

View file

@ -33,12 +33,6 @@ services:
condition: service_healthy condition: service_healthy
ports: ports:
- "8080:8080" - "8080:8080"
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8080/health"]
interval: 30s
timeout: 10s
retries: 3
start_period: 10s
restart: unless-stopped restart: unless-stopped
# Frontend # Frontend
@ -51,15 +45,9 @@ services:
NODE_ENV: production NODE_ENV: production
depends_on: depends_on:
backend: backend:
condition: service_healthy condition: service_started
ports: ports:
- "3000:3000" - "3000:3000"
healthcheck:
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:3000/health"]
interval: 30s
timeout: 10s
retries: 3
start_period: 10s
restart: unless-stopped restart: unless-stopped
volumes: volumes: