diff --git a/backend/configs/docker/docker-compose.prod.yml b/backend/configs/docker/docker-compose.prod.yml index 305d45d..41f47a5 100644 --- a/backend/configs/docker/docker-compose.prod.yml +++ b/backend/configs/docker/docker-compose.prod.yml @@ -116,7 +116,7 @@ services: - api restart: unless-stopped healthcheck: - test: ["CMD", "curl", "-f", "http://localhost/health"] + test: ["CMD", "curl", "-f", "http://localhost/api/v1/health"] interval: 30s timeout: 10s retries: 3 diff --git a/docker-compose.yml b/docker-compose.yml index 63415f5..b5d34ae 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -149,7 +149,7 @@ services: - photography-network restart: unless-stopped healthcheck: - test: ["CMD", "curl", "-f", "http://localhost/health"] + test: ["CMD", "curl", "-f", "http://localhost/api/v1/health"] interval: 30s timeout: 10s retries: 3 @@ -178,7 +178,7 @@ services: - photography-network restart: unless-stopped healthcheck: - test: ["CMD", "curl", "-f", "http://localhost/health"] + test: ["CMD", "curl", "-f", "http://localhost/api/v1/health"] interval: 30s timeout: 10s retries: 3 diff --git a/frontend/docker-compose.yml b/frontend/docker-compose.yml index 145d4f9..446a5f7 100644 --- a/frontend/docker-compose.yml +++ b/frontend/docker-compose.yml @@ -34,7 +34,7 @@ services: - photography-network restart: unless-stopped healthcheck: - test: ["CMD", "curl", "-f", "http://localhost/health"] + test: ["CMD", "curl", "-f", "http://localhost/api/v1/health"] interval: 30s timeout: 10s retries: 3