forked from SAP-archive/cloud-application-security-sample
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmanifest.yml
40 lines (40 loc) · 1.34 KB
/
manifest.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
---
# Configuration:
# configured for EU10. For other landscapes, please adopt LANDSCAPE_APPS_DOMAIN in ../vars.yml
# If the route is occupied, you might need to change ID in ../vars.yml as well
applications:
- name: bulletinboard-ads
instances: 1
memory: 1G
timeout: 360
routes:
- route: bulletinboard-ads-((ID)).((LANDSCAPE_APPS_DOMAIN))
path: target/demo-application-security-acl.jar
health-check-type: http
health-check-http-endpoint: /actuator/health
env:
# Disable Spring Auto Reconfiguration
JBP_CONFIG_SPRING_AUTO_RECONFIGURATION: '{enabled: false}'
# Use the non-blocking /dev/urandom instead of the default to generate random numbers.
# When using Java community buildpack, increase startup times, especially when using Spring Boot.
JAVA_OPTS: -Djava.security.egd=file:///dev/./urandom
services:
- postgres-bulletinboard-ads
- uaa-bulletinboard
# Application Router as web server
- name: approuter
routes:
- route: approuter-((ID)).((LANDSCAPE_APPS_DOMAIN))
path: src/main/approuter
memory: 128M
timeout: 360
env:
TENANT_HOST_PATTERN: "^(.*)-approuter-((ID)).((LANDSCAPE_APPS_DOMAIN))"
destinations: >
[{
"name":"ads-destination",
"url" :"https://bulletinboard-ads-((ID)).((LANDSCAPE_APPS_DOMAIN))",
"forwardAuthToken": true}
]
services:
- uaa-bulletinboard