Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions environments/production/environment.yaml
Original file line number Diff line number Diff line change
@@ -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"
4 changes: 2 additions & 2 deletions environments/staging/environment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand Down