Merge pull request 'Move the correx server off :8080 to :8090 (mavgpud port conflict)' (#3) from task/695-move-the-correx-server-off-8080-to-8090 into master

This commit was merged in pull request #3.
This commit is contained in:
2026-08-11 12:13:12 +02:00
6 changed files with 7 additions and 7 deletions
@@ -1,3 +1,3 @@
package com.correx.apps.cli package com.correx.apps.cli
internal const val DEFAULT_PORT = 8080 internal const val DEFAULT_PORT = 8090
+1 -1
View File
@@ -15,7 +15,7 @@ import (
func main() { func main() {
host := flag.String("host", "localhost", "server host") host := flag.String("host", "localhost", "server host")
port := flag.Int("port", 8080, "server port") port := flag.Int("port", 8090, "server port")
flag.Parse() flag.Parse()
if path := os.Getenv("CORREX_TUI_LOG"); path != "" { if path := os.Getenv("CORREX_TUI_LOG"); path != "" {
@@ -184,7 +184,7 @@ object ProfileLoader {
} }
object ConfigLoader { object ConfigLoader {
private const val DEFAULT_SERVER_PORT = 8080 private const val DEFAULT_SERVER_PORT = 8090
private const val DEFAULT_SESSION_LIST_LIMIT = 5 private const val DEFAULT_SESSION_LIST_LIMIT = 5
private const val DEFAULT_EMBEDDER_DIMENSION = 1536 private const val DEFAULT_EMBEDDER_DIMENSION = 1536
private const val DEFAULT_L3_DIM = 1536 private const val DEFAULT_L3_DIM = 1536
@@ -184,7 +184,7 @@ data class ArtifactKindConfig(
@Serializable @Serializable
data class ServerConfig( data class ServerConfig(
val host: String = "localhost", val host: String = "localhost",
val port: Int = 8080, val port: Int = 8090,
) )
@Serializable @Serializable
@@ -9,7 +9,7 @@ class ConfigLoaderTest {
fun `load returns defaults when config file missing`() { fun `load returns defaults when config file missing`() {
val config = CorrexConfig() val config = CorrexConfig()
assertEquals("localhost", config.server.host) assertEquals("localhost", config.server.host)
assertEquals(8080, config.server.port) assertEquals(8090, config.server.port)
assertEquals("dark", config.tui.theme) assertEquals("dark", config.tui.theme)
assertEquals(5, config.tui.sessionListLimit) assertEquals(5, config.tui.sessionListLimit)
assertEquals("human", config.cli.defaultOutput) assertEquals("human", config.cli.defaultOutput)
+2 -2
View File
@@ -76,7 +76,7 @@ scripts/qa/searxng-down.sh
## 4. Start the server ## 4. Start the server
```bash ```bash
./gradlew :apps:server:run # mainClass com.correx.apps.server.MainKt, listens on :8080 ./gradlew :apps:server:run # mainClass com.correx.apps.server.MainKt, listens on :8090
# or build a runnable dist once and reuse it: # or build a runnable dist once and reuse it:
./gradlew :apps:server:installDist ./gradlew :apps:server:installDist
apps/server/build/install/server/bin/server apps/server/build/install/server/bin/server
@@ -90,7 +90,7 @@ apps/server/build/install/server/bin/server
```bash ```bash
cd apps/tui-go cd apps/tui-go
GOTOOLCHAIN=auto go build -o correx-tui . GOTOOLCHAIN=auto go build -o correx-tui .
./correx-tui -host localhost -port 8080 # flags default to localhost:8080 ./correx-tui -host localhost -port 8090 # flags default to localhost:8090
``` ```
## 6. Evidence tools (what the plans cite) ## 6. Evidence tools (what the plans cite)