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

@@ -4,7 +4,7 @@ CARGO ?= cargo
DOCKER ?= docker
IMAGE ?= pokedex-api
TAG ?= local
BASE_URL ?= http://localhost:5000
BASE_URL ?= http://localhost:8000
POKEMON ?= mewtwo
PLATFORMS ?= linux/amd64,linux/arm64
GIT_SHA ?= $(shell git rev-parse HEAD 2>/dev/null || printf unknown)
@@ -15,7 +15,7 @@ help:
@printf 'Available targets:\n'
@printf ' make run Run the API locally with cargo\n'
@printf ' make docker-build Build the Docker image\n'
@printf ' make docker-run Run the Docker image on port 5000\n'
@printf ' make docker-run Run the Docker image on port 8000\n'
@printf ' make cli-health Call /health through the CLI helper\n'
@printf ' make cli-pokemon Call /pokemon/$${POKEMON} through the CLI helper\n'
@printf ' make cli-translated Call /pokemon/translated/$${POKEMON} through the CLI helper\n'
@@ -34,7 +34,7 @@ docker-build:
$(DOCKER) build -t $(IMAGE) .
docker-run:
$(DOCKER) run --rm -p 5000:5000 $(IMAGE)
$(DOCKER) run --rm -p 8000:8000 $(IMAGE)
cli-health:
$(CARGO) run --bin pokedex-cli -- health