archetype-resources.manifest.yml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of service-sdk-spring-boot-archetype
Show all versions of service-sdk-spring-boot-archetype
hybris maven archetype for a basic Spring Boot YaaS Service
The newest version!
%YAML 1.1
# This file is a Cloud Foundry application manifest.
# Use it to deploy your ${artifactId} service to a Cloud Foundry environment.
# To do so with the Cloud Foundry CLI-tool, execute the following command in this directory:
#
# cf push
#
# For more information see:
# http://docs.cloudfoundry.org/devguide/deploy-apps/manifest.html
---
applications:
- name: ${artifactId}
instances: 1
memory: 512M
host: ${artifactId}
path: target/${artifactId}.war
env:
# used in logging format and API Console
APP_NAME: ${artifactId}
APP_VERSION: ${version}
# The memory limit (set above) is the total available memory for the container. The Java buildpack uses this value to control the JRE's use of various regions of memory. The JRE memory settings can be influenced by configuring the memory_sizes, memory_heuristics, memory_initials and/or stack_threads mappings. You should be aware of the rational amount of memory which your application needs and adjust the values below accordingly.
# Read more information about the available settings here: https://github.com/cloudfoundry/java-buildpack/blob/master/docs/jre-open_jdk_jre.md#memory.
# To helo diagnose and resolve memory issues you can also read the following page: https://docs.cloudfoundry.org/buildpacks/java/java-tips.html#memory-troubleshoot
JBP_CONFIG_OPEN_JDK_JRE: '{ jre: { version: 1.8.0_+ }, memory_calculator: {memory_heuristics: {heap: 60, stack: 5, metaspace: 10, native: 25}, memory_sizes: {stack: 228k.., metaspace: 64m..}, stack_threads: 200 }}'
© 2015 - 2024 Weber Informatics LLC | Privacy Policy