Group container settings under cameleer.server.runtime.container.*
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:
@@ -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}")
|
||||
|
||||
@@ -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:}
|
||||
|
||||
Reference in New Issue
Block a user