Compare commits

..

1 Commits

Author SHA1 Message Date
16f10e101a refactor: replace Spring Boot with Jooby framework
- Remove Spring Boot dependencies and annotations.
- Implement Jooby MVC controllers and Guice dependency injection.
- Migrate persistence layer to Ebean ORM.
- Configure Flyway migrations and ApiErrorController.
- Update application configuration to HOCON format.
2026-03-03 08:49:55 +01:00
3 changed files with 9 additions and 6 deletions

View File

@@ -41,11 +41,10 @@ COPY --from=build /app/bootstrap/target/bootstrap-*.jar app.jar
# -XX:TieredStopAtLevel=1: Arranque más rápido y menos uso de RAM del compilador JIT
# -XX:MaxRAMPercentage: Se ajusta dinámicamente al límite de Docker
ENV JAVA_OPTS="-XX:+UseContainerSupport \
-XX:MaxRAMPercentage=50.0 \
-Xms32m \
-Xmx96m \
-XX:MaxRAMPercentage=75.0 \
-XX:+UseSerialGC \
-XX:TieredStopAtLevel=1"
-XX:TieredStopAtLevel=1 \
-Xms128m"
EXPOSE 80

2
Jenkinsfile vendored
View File

@@ -2,7 +2,7 @@ pipeline {
agent any
environment {
REGISTRY_URL = "registry.nortapp.com"
REGISTRY_URL = "registry.pablotj.com"
USER = "andromeda"
PASS = credentials('docker-registry-password')
}

View File

@@ -2,10 +2,13 @@ STACK=pablotj-portfolio
APP_NAME=pablotj-portfolio-api
IMAGE_NAME=$(APP_NAME)
REGISTRY_URL=registry.nortapp.com
REGISTRY_URL=registry.pablotj.com
NAMESPACE=andromeda
TAG?=latest
HOST_PORT=8181
CONTAINER_PORT=8080
IMAGE_FULL=$(REGISTRY_URL)/$(NAMESPACE)/$(IMAGE_NAME):$(TAG)
build:
@@ -23,6 +26,7 @@ run:
--label com.docker.compose.service="$(APP_NAME)" \
--label com.docker.compose.project="$(STACK)" \
--network andromeda \
-p $(HOST_PORT):$(CONTAINER_PORT) \
--env-file .env \
$(IMAGE_FULL)