Initial project setup: CI, Docker & configs
Build, Test & Push Core Service / quality-check (push) Successful in 42s
Build, Test & Push Core Service / docker (push) Successful in 2m4s

Add project bootstrap for build, CI/CD, and local development. Introduces Maven Wrapper (mvnw, mvnw.cmd, .mvn/wrapper), multi-stage Dockerfile, docker-compose files (compose.yaml, docker-compose.dev.yml), .env, banner and README. Adds Gitea Actions workflow to build, test and push container images. Update application.yml (port -> 8090, virtual threads, API versioning, management/actuator/prometheus settings, Steam API config) and add application-dev.yml for local overrides. Extend pom.xml with caching, observability (actuator, micrometer/prometheus), testing/dev dependencies (testcontainers, devtools, additional spring test modules) to support CI and local testing.
This commit is contained in:
lobo committed 2026-04-19 10:44:29 +02:00
1 parent a2ae667a23
commit 04dcab45da
13 files changed
+822 -12

No files matched your search

+22 -12
View File
@@ -3,35 +3,45 @@ spring:
name: tbp-core-service
profiles:
active: prod
datasource:
url: jdbc:postgresql://${DB_HOST}:5432/tbp_core
username: ${DB_USER}
password: ${DB_PASS}
jpa:
open-in-view: true
hibernate:
ddl-auto: validate
flyway:
enabled: true
baseline-on-migrate: true
locations: classpath:db/migration
threads:
virtual:
enabled: true
mvc:
apiversion:
use:
query-parameter: version
default: "1.0"
supported: 1.0, 2,0
server:
port: 8081
port: 8090
management:
endpoints:
web:
exposure:
include: health, prometheus, metrics
endpoint:
health:
show-details: always
prometheus:
metrics:
export:
enabled: true
security:
jwt:
secret: ${JWT_SECRET}
app:
cors:
allowed-origins: "https://tbp.andreas-dahm.eu"
internal:
api-key: ${INTERNAL_API_KEY}
steam:
api-key: ${STEAM_API_KEY}
playerService-url: https://api.steampowered.com/IPlayerService/GetOwnedGames/v1/
storeService-url: https://api.steampowered.com/IStoreService/GetAppList/v1/
imageService-url: https://cdn.cloudflare.steamstatic.com/steam/apps/