fix: docker compose

This commit is contained in:
ɧσℓσ
2025-12-02 18:15:54 +01:00
parent 09f760646e
commit f75fc23cb1
2 changed files with 2 additions and 1 deletions

View File

@@ -5,6 +5,7 @@ WORKDIR /app
# Installer les dépendances système # Installer les dépendances système
RUN apt-get update && apt-get install -y \ RUN apt-get update && apt-get install -y \
gcc \ gcc \
curl \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
# Copier les fichiers de dépendances # Copier les fichiers de dépendances

View File

@@ -12,7 +12,7 @@ services:
- SECRET_KEY=${SECRET_KEY:-change-this-secret-key-in-production-min-32-characters-long} - SECRET_KEY=${SECRET_KEY:-change-this-secret-key-in-production-min-32-characters-long}
restart: unless-stopped restart: unless-stopped
healthcheck: healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8000/api/health"] test: ["CMD", "curl", "-f", "http://localhost:3000/api/health"]
interval: 30s interval: 30s
timeout: 10s timeout: 10s
retries: 3 retries: 3