Skip to content

armgit / kaneo

Public Imported from GitHub
0

⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.

chore(docs): updating repo with 127.0.0.1 for health checks (#1225)

(justin)randoneering758dd79d5b10
diff --git a/apps/api/Dockerfile b/apps/api/Dockerfile
index e940613d1..b808a3fd4 100644
--- a/apps/api/Dockerfile
+++ b/apps/api/Dockerfile
@@ -72,6 +72,6 @@ EXPOSE 1337
# Add health check
HEALTHCHECK --interval=30s --timeout=5s --start-period=5s --retries=3 \
- CMD wget --no-verbose --tries=1 --spider http://localhost:1337/api/health || exit 1
+ CMD wget --no-verbose --tries=1 --spider http://127.0.0.1:1337/api/health || exit 1
CMD ["node", "--enable-source-maps", "dist/index.js"]
diff --git a/apps/docs/core/installation/docker-compose.mdx b/apps/docs/core/installation/docker-compose.mdx
index f52b451c0..2d34bec9c 100644
--- a/apps/docs/core/installation/docker-compose.mdx
+++ b/apps/docs/core/installation/docker-compose.mdx
@@ -35,7 +35,7 @@ services:
condition: service_healthy
restart: unless-stopped
healthcheck:
- test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:5173/api/health"]
+ test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://127.0.0.1:5173/api/health"]
interval: 30s
timeout: 5s
retries: 3
diff --git a/compose.yml b/compose.yml
index 055645ff3..54ce68b87 100644
--- a/compose.yml
+++ b/compose.yml
@@ -25,7 +25,7 @@ services:
condition: service_healthy
restart: unless-stopped
healthcheck:
- test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:5173/api/health"]
+ test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://127.0.0.1:5173/api/health"]
interval: 30s
timeout: 5s
start_period: 60s