fix(deploy): refresh full-mode edge config and frontend healthcheck

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
david_bai
2026-03-26 00:14:28 +08:00
parent fa8ca13283
commit ae06c45324
2 changed files with 9 additions and 2 deletions
+7
View File
@@ -741,6 +741,13 @@ main() {
# If full + nginx, automatically issue certs and enable 443
provision_letsencrypt_cert || true
if [[ "$DEPLOYMENT_MODE" == "full" && "$WITH_NGINX" == "true" ]]; then
log_info "Refreshing edge containers to apply generated HTTPS/SNI config..."
docker compose up -d --force-recreate nginx >/dev/null
if [[ "$WITH_TURN" == "true" ]]; then
docker compose up -d --force-recreate coturn >/dev/null
fi
fi
# Ensure TURN is running (when requested with --with-turn)
ensure_turn_running || true
+2 -2
View File
@@ -3,7 +3,7 @@
const http = require('http');
const options = {
host: 'localhost',
host: '127.0.0.1',
port: process.env.PORT || 3002,
path: '/api/health',
timeout: 2000,
@@ -31,4 +31,4 @@ req.on('timeout', () => {
process.exit(1);
});
req.end();
req.end();