feat(dev): add the local profile with recorded third-party answers

Profile "local" points Steam, Twitch/IGDB and speedrun.com to a WireMock
container from compose.yaml (recordings in local/wiremock) and checks
logins against the local Auth.

The IGDB lookups now keep only the ids they asked for: an answer with
another game made tags and release years drop the whole batch.
This commit is contained in:
lobo committed 2026-09-28 13:07:40 +02:00
1 parent 5a089b2082
commit 5c0c0c6a78
54 files changed
+1539 -8

No files matched your search

+31
View File
@@ -0,0 +1,31 @@
# Local development without keys or third parties: start with the profile "local" (alone), after Auth's local
# profile. Postgres and WireMock (local/wiremock) come from compose.yaml. See the readme, "Run locally".
spring:
docker:
compose:
profiles:
active: local
# Also when Postgres still runs from a dev run; else WireMock would not start.
start:
skip: never
security:
jwt:
jwks-url: "http://localhost:8080/.well-known/jwks.json"
app:
cors:
allowed-origins: "http://localhost:5173"
steam:
api-key: local
base-url: "http://localhost:8089/steam"
igdb:
client-id: local
client-secret: local
base-url: "http://localhost:8089/igdb"
token-base-url: "http://localhost:8089/twitch"
speedrun:
base-url: "http://localhost:8089/speedrun"
library:
# The image repair checks the real Steam CDN.
image-repair-cron: "-"