Group container settings under cameleer.server.runtime.container.*
All checks were successful
CI / cleanup-branch (push) Has been skipped
CI / build (push) Successful in 1m21s
CI / docker (push) Successful in 1m2s
CI / deploy-feature (push) Has been skipped
CI / deploy (push) Successful in 37s

Move container resource defaults into their own sub-namespace for
future extensibility:

  cameleer.server.runtime.container.memorylimit → CAMELEER_SERVER_RUNTIME_CONTAINER_MEMORYLIMIT
  cameleer.server.runtime.container.cpushares   → CAMELEER_SERVER_RUNTIME_CONTAINER_CPUSHARES

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
hsiegeln
2026-04-11 21:33:07 +02:00
parent 534e936cd4
commit 350e769948
2 changed files with 5 additions and 4 deletions

View File

@@ -34,10 +34,10 @@ public class DeploymentExecutor {
@Value("${cameleer.server.runtime.dockernetwork:cameleer}")
private String dockerNetwork;
@Value("${cameleer.server.runtime.containermemorylimit:512m}")
@Value("${cameleer.server.runtime.container.memorylimit:512m}")
private String globalMemoryLimit;
@Value("${cameleer.server.runtime.containercpushares:512}")
@Value("${cameleer.server.runtime.container.cpushares:512}")
private int globalCpuShares;
@Value("${cameleer.server.runtime.healthchecktimeout:60}")

View File

@@ -47,8 +47,9 @@ cameleer:
dockernetwork: ${CAMELEER_SERVER_RUNTIME_DOCKERNETWORK:cameleer}
agenthealthport: 9464
healthchecktimeout: 60
containermemorylimit: ${CAMELEER_SERVER_RUNTIME_CONTAINERMEMORYLIMIT:512m}
containercpushares: ${CAMELEER_SERVER_RUNTIME_CONTAINERCPUSHARES:512}
container:
memorylimit: ${CAMELEER_SERVER_RUNTIME_CONTAINER_MEMORYLIMIT:512m}
cpushares: ${CAMELEER_SERVER_RUNTIME_CONTAINER_CPUSHARES:512}
routingmode: ${CAMELEER_SERVER_RUNTIME_ROUTINGMODE:path}
routingdomain: ${CAMELEER_SERVER_RUNTIME_ROUTINGDOMAIN:localhost}
serverurl: ${CAMELEER_SERVER_RUNTIME_SERVERURL:}