chore: port 8080 to 4010

This commit is contained in:
asepharyana
2026-08-02 16:18:17 +07:00
parent 67861f384b
commit 81c5177249
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -57,6 +57,6 @@ docker compose -f docker-compose.yml up -d
## Infrastructure ## Infrastructure
- Traefik router: `ai.asepharyana.my.id``llm-api:8080` - Traefik router: `ai.asepharyana.my.id``127.0.0.1:4010`
- Network: `app-shared-net` - Network: `app-shared-net`
- Docker Compose: see `llm-api.yml` - Docker Compose: see `llm-api.yml`
+1 -1
View File
@@ -42,7 +42,7 @@ impl AppConfig {
server_port: std::env::var("SERVER_PORT") server_port: std::env::var("SERVER_PORT")
.ok() .ok()
.and_then(|v| v.parse().ok()) .and_then(|v| v.parse().ok())
.unwrap_or(8080), .unwrap_or(4010),
log_level: std::env::var("RUST_LOG").unwrap_or_else(|_| "info".to_string()), log_level: std::env::var("RUST_LOG").unwrap_or_else(|_| "info".to_string()),
n_ctx: 8192, n_ctx: 8192,
n_batch: 512, n_batch: 512,