diff --git a/environments/production/environment.yaml b/environments/production/environment.yaml new file mode 100644 index 0000000..a980c82 --- /dev/null +++ b/environments/production/environment.yaml @@ -0,0 +1,29 @@ +# +# Configuration for staging environment +# +version: 1.0 +app: + # build id to deploy. if 'version' is commented out, the application is not deployed + version: "" + + # number of instances + instances: + # min number of instances. can be 0 for scale to 0. default to 1. + min: 1 + + # max number of instances. defaults to 1 if min == 0, otherwise defaults to min + max: 1 + + resources: + # max cpu. memory limit is based on cpu value: 1:3 memory ratio, e.g. 1 cpu == 3 gb + cpu: 1 + + # List of environment variables that are set for the application + env: + - name: JVM_ARGS + value: "-Xms=1024m" + + # List of variables that can be referenced in the server.xml + variables: + - name: io_openliberty_sample_system_inMaintenance + value: "false" diff --git a/environments/staging/environment.yaml b/environments/staging/environment.yaml index bc79e93..f700dda 100644 --- a/environments/staging/environment.yaml +++ b/environments/staging/environment.yaml @@ -4,7 +4,7 @@ version: 1.0 app: # build id to deploy. if 'version' is commented out, the application is not deployed - version: "" + version: "latest version" # configure endpoints endpoints: public @@ -19,7 +19,7 @@ app: resources: # max cpu. memory limit is based on cpu value: 1:3 memory ratio, e.g. 1 cpu == 3 gb - cpu: 1 + cpu: 3 # List of environment variables that are set for the application env: