diff --git a/backend/docker-compose.yaml b/backend/docker-compose.yaml index 6c481e2..f8fcef7 100644 --- a/backend/docker-compose.yaml +++ b/backend/docker-compose.yaml @@ -6,7 +6,12 @@ services: build: . ports: - "8000:8000" + healthcheck: + test: ["CMD", "curl", "-f", "http://localhost:8000/docs"] + interval: 30s + timeout: 10s + retries: 3 + start_period: 5s # volumes: # - ./settings.toml:/app/settings.toml - # - ./.secrets.toml:/app/.secrets.toml - tty: true \ No newline at end of file + # - ./.secrets.toml:/app/.secrets.toml \ No newline at end of file