Skip to content

Commit 4627975

Browse files
author
Vadym Kazulkin
committed
improved readme
1 parent 0074a00 commit 4627975

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

spring-boot-3.2-docker-image-with-crac/template.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ Resources:
179179

180180
Properties:
181181
PackageType: Image
182-
ImageUri: !Sub ${AWS::AccountId}.dkr.ecr.eu-central-1.amazonaws.com/aws-spring-boot-3.2-java21-with-crac-custom-docker-image:v1
182+
ImageUri: !Sub ${AWS::AccountId}.dkr.ecr.eu-central-1.amazonaws.com/aws-spring-boot-3.2-java21-crac-custom-docker-image:v1
183183
ImageConfig:
184184
Command: ["org.springframework.cloud.function.adapter.aws.FunctionInvoker::handleRequest"]
185185
Environment:
@@ -221,12 +221,12 @@ Resources:
221221
Type: AWS::Serverless::Function
222222
Properties:
223223
PackageType: Image
224-
ImageUri: !Sub ${AWS::AccountId}.dkr.ecr.eu-central-1.amazonaws.com/aws-spring-boot-3.2-java21-with-crac-custom-docker-image:v1
224+
ImageUri: !Sub ${AWS::AccountId}.dkr.ecr.eu-central-1.amazonaws.com/aws-spring-boot-3.2-java21-crac-custom-docker-image:v1
225225
ImageConfig:
226226
Command: ["org.springframework.cloud.function.adapter.aws.FunctionInvoker::handleRequest"]
227227
Environment:
228228
Variables:
229-
JAVA_TOOL_OPTIONS: "-XX:+TieredCompilation -XX:TieredStopAtLevel=1"
229+
JAVA_TOOL_OPTIONS: "-XX:+TieredCompilation -XX:TieredStopAtLevel=1 -Dspring.context.checkpoint=onRefresh -XX:CRaCCheckpointTo=/mnt/msg/crac"
230230
SPRING_CLOUD_FUNCTION_DEFINITION: createProductHandler
231231
FunctionName: PutProductWithSpringBoot32Java21DockerImageWithCRaC
232232
Policies:

0 commit comments

Comments
 (0)