From 8344badaa785b20714f930ef9231e6781bdf1702 Mon Sep 17 00:00:00 2001 From: zhx Date: Thu, 7 May 2026 19:19:05 +0800 Subject: [PATCH] Revert "fix testbox infra bind host config" This reverts commit 14cf71f864de1b9c5edd4c38d2ff9dcff0aea06c. --- testbox/.env.example | 1 - testbox/docker-compose.infra.yml | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/testbox/.env.example b/testbox/.env.example index 1f9985c..a4ec17a 100644 --- a/testbox/.env.example +++ b/testbox/.env.example @@ -5,7 +5,6 @@ TESTBOX_ADMIN_DOMAIN=yumi-test-admin.haiyihy.com TESTBOX_ADMIN_PUBLIC_BASE_URL=https://yumi-test-admin.haiyihy.com TESTBOX_ADMIN_API_BASE_URL=https://yumi-test-admin.haiyihy.com/console TESTBOX_ADMIN_OSS_URL= -TESTBOX_INFRA_BIND_HOST=127.0.0.1 # Infra credentials. Change these before first production-like test. MYSQL_DATABASE=likei diff --git a/testbox/docker-compose.infra.yml b/testbox/docker-compose.infra.yml index a6e2b4a..f9fd418 100644 --- a/testbox/docker-compose.infra.yml +++ b/testbox/docker-compose.infra.yml @@ -16,7 +16,7 @@ services: MYSQL_PASSWORD: ${MYSQL_PASSWORD} TZ: Asia/Shanghai ports: - - "${TESTBOX_INFRA_BIND_HOST:-127.0.0.1}:${MYSQL_PORT:-3306}:3306" + - "127.0.0.1:3306:3306" volumes: - mysql-data:/var/lib/mysql - ./mysql/init:/docker-entrypoint-initdb.d:ro @@ -38,7 +38,7 @@ services: REDIS_PASSWORD: ${REDIS_PASSWORD} TZ: Asia/Shanghai ports: - - "${TESTBOX_INFRA_BIND_HOST:-127.0.0.1}:${REDIS_PORT:-6379}:6379" + - "127.0.0.1:6379:6379" volumes: - redis-data:/data healthcheck: