diff --git a/docker-compose.macmini.yml b/docker-compose.macmini.yml index 5f41111b9..7b10f4cac 100644 --- a/docker-compose.macmini.yml +++ b/docker-compose.macmini.yml @@ -97,7 +97,7 @@ services: ports: - "3001:3001" healthcheck: - test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://127.0.0.1:3001/health"] + test: ["CMD", "node", "-e", "const http = require('http'); http.get('http://127.0.0.1:3001/health', (r) => process.exit(r.statusCode === 200 ? 0 : 1)).on('error', () => process.exit(1))"] interval: 30s timeout: 10s retries: 3 @@ -131,6 +131,7 @@ services: SEARCH_SERVICE_URL: http://mana-search:3021 STT_SERVICE_URL: http://mana-stt:3020 TTS_SERVICE_URL: http://mana-tts:3022 + IMAGE_GEN_SERVICE_URL: http://host.docker.internal:3025 CORS_ORIGINS: https://api.mana.how,https://mana.how ports: - "3030:3030" @@ -674,7 +675,7 @@ services: ports: - "5189:5189" healthcheck: - test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://127.0.0.1:5189/health"] + test: ["CMD", "node", "-e", "const http = require('http'); http.get('http://127.0.0.1:5189/health', (r) => process.exit(r.statusCode === 200 ? 0 : 1)).on('error', () => process.exit(1))"] interval: 30s timeout: 10s retries: 3