diff --git a/.github/actions/start-services/action.yml b/.github/actions/start-services/action.yml index 5e57f3033b..6c128f0fee 100644 --- a/.github/actions/start-services/action.yml +++ b/.github/actions/start-services/action.yml @@ -157,5 +157,5 @@ runs: STARTUP_TIMEOUT=60 ./scripts/start-service.sh "API" packages/api run ~/logs/api.log http://localhost:3000/health # Start client-proxy (needed for auto-resume tests) - ./scripts/start-service.sh "ClientProxy" packages/client-proxy run ~/logs/client-proxy.log http://localhost:3003 + ./scripts/start-service.sh "ClientProxy" packages/client-proxy run ~/logs/client-proxy.log http://localhost:3001 shell: bash diff --git a/DEV-LOCAL.md b/DEV-LOCAL.md index a72afafbbd..0546bb9546 100644 --- a/DEV-LOCAL.md +++ b/DEV-LOCAL.md @@ -128,7 +128,7 @@ These commands launch each service in the foreground. You need multiple terminal ```bash make -C packages/client-proxy run-local ``` - Verify: `curl -s http://localhost:3003/health` returns a response. + Verify: `curl -s http://localhost:3001/health` returns a response. ## Build the base template diff --git a/packages/client-proxy/internal/cfg/model.go b/packages/client-proxy/internal/cfg/model.go index e43f984966..df25c522bc 100644 --- a/packages/client-proxy/internal/cfg/model.go +++ b/packages/client-proxy/internal/cfg/model.go @@ -3,7 +3,7 @@ package cfg import "github.com/caarlos0/env/v11" type Config struct { - HealthPort uint16 `env:"HEALTH_PORT" envDefault:"3003"` + HealthPort uint16 `env:"HEALTH_PORT" envDefault:"3001"` ProxyPort uint16 `env:"PROXY_PORT" envDefault:"3002"` RedisURL string `env:"REDIS_URL"` diff --git a/packages/client-proxy/internal/cfg/model_test.go b/packages/client-proxy/internal/cfg/model_test.go index 38d61d4fa4..2a5105e157 100644 --- a/packages/client-proxy/internal/cfg/model_test.go +++ b/packages/client-proxy/internal/cfg/model_test.go @@ -21,7 +21,7 @@ func TestParse_Defaults(t *testing.T) { cfg, err := Parse() require.NoError(t, err) - require.EqualValues(t, 3003, cfg.HealthPort) + require.EqualValues(t, 3001, cfg.HealthPort) require.EqualValues(t, 3002, cfg.ProxyPort) require.Equal(t, 40, cfg.RedisPoolSize) require.Empty(t, cfg.RedisURL)