chore: default to port 8000
All checks were successful
Rust / check (push) Successful in 35s
Rust / test (push) Successful in 29s
Docker / build (push) Successful in 1m19s

This commit is contained in:
2026-06-16 14:39:53 +02:00
parent bfc7bd4f7c
commit 8268bd9692
6 changed files with 18 additions and 18 deletions

View File

@@ -37,7 +37,7 @@ Then run the service:
make run
```
The API listens on `0.0.0.0:5000` by default.
The API listens on `0.0.0.0:8000` by default.
## CLI helper
@@ -47,7 +47,7 @@ With the API running in another terminal, call it through the small helper binar
make cli-health
make cli-pokemon
make cli-translated
make cli-pokemon POKEMON=pikachu BASE_URL=http://localhost:5000
make cli-pokemon POKEMON=pikachu BASE_URL=http://localhost:8000
```
## Endpoints
@@ -110,7 +110,7 @@ External contract tests are separated from the normal deterministic test suite.
| Variable | Default | Description |
| --------------------------- | ------------------------------------------- | -------------------------- |
| `BIND_ADDR` | `0.0.0.0:5000` | HTTP bind address |
| `BIND_ADDR` | `0.0.0.0:8000` | HTTP bind address |
| `POKEAPI_BASE_URL` | `https://pokeapi.co/api/v2` | PokéAPI base URL |
| `FUN_TRANSLATIONS_BASE_URL` | `https://api.funtranslations.mercxry.me/v1` | FunTranslations base URL |
| `REQUEST_TIMEOUT_SECONDS` | `5` | Upstream HTTP timeout |