chore: port 8080 to 4010
This commit is contained in:
@@ -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
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user