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