forked from quarano/quarano-application
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmanifest.yml
97 lines (93 loc) · 3.09 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
# App Manifest
applications:
############### develop system #########################
- name: quarano-frontend-dev
memory: 128M
buildpacks:
- https://github.com/cloudfoundry/staticfile-buildpack
path: ./frontend/dist/apps/quarano-frontend
command: "$HOME/boot.sh"
routes:
- route: quarano-frontend-dev.cfapps.io
- name: quarano-backend-dev
buildpacks:
- java_buildpack
path: ./backend/target/quarano-backend-0.0.1-SNAPSHOT.jar
services:
- quarano-postgres-dev
env:
JBP_CONFIG_OPEN_JDK_JRE: "{ jre: { version: 11.+ } }"
SPRING_PROFILES_ACTIVE: develop
############### demo system #########################
- name: quarano-frontend
memory: 128M
buildpacks:
- https://github.com/cloudfoundry/staticfile-buildpack
path: ./frontend/dist/apps/quarano-frontend
command: "$HOME/boot.sh"
routes:
- route: quarano-frontend.cfapps.io
- name: quarano-backend
buildpacks:
- java_buildpack
path: ./backend/target/quarano-backend-0.0.1-SNAPSHOT.jar
services:
- quarano-postgres
env:
JBP_CONFIG_OPEN_JDK_JRE: "{ jre: { version: 11.+ } }"
SPRING_PROFILES_ACTIVE: prod
QUARANO_JWT_ALLOWED_ORIGINS: https://quarano-frontend.cfapps.io
############### test system #########################
- name: quarano-frontend-test
memory: 128M
buildpacks:
- https://github.com/cloudfoundry/staticfile-buildpack
path: ./frontend/dist/apps/quarano-frontend
command: "$HOME/boot.sh"
routes:
- route: quarano-frontend-test.cfapps.io
- name: quarano-backend-test
buildpacks:
- java_buildpack
path: ./backend/target/quarano-backend-0.0.1-SNAPSHOT.jar
services:
- quarano-postgres-test
env:
JBP_CONFIG_OPEN_JDK_JRE: "{ jre: { version: 11.+ } }"
QUARANO_JWT_ALLOWED_ORIGINS: https://quarano-frontend-test.cfapps.io
############### security-test system #########################
- name: quarano-frontend-sec
memory: 128M
buildpacks:
- https://github.com/cloudfoundry/staticfile-buildpack
path: ./frontend/dist/apps/quarano-frontend
command: "$HOME/boot.sh"
routes:
- route: quarano-frontend-sec.cfapps.io
- name: quarano-backend-sec
buildpacks:
- java_buildpack
path: ./backend/target/quarano-backend-0.0.1-SNAPSHOT.jar
services:
- quarano-postgres-security
env:
JBP_CONFIG_OPEN_JDK_JRE: "{ jre: { version: 11.+ } }"
SPRING_PROFILES_ACTIVE: develop
############### cypress-test system #########################
- name: quarano-frontend-autotest
memory: 128M
buildpacks:
- https://github.com/cloudfoundry/staticfile-buildpack
path: ./frontend/dist/apps/quarano-frontend
command: "$HOME/boot.sh"
routes:
- route: quarano-frontend-autotest.cfapps.io
- name: quarano-backend-autotest
buildpacks:
- java_buildpack
path: ./backend/target/quarano-backend-0.0.1-SNAPSHOT.jar
services:
- quarano-postgres-autotest
env:
JBP_CONFIG_OPEN_JDK_JRE: "{ jre: { version: 11.+ } }"
SPRING_PROFILES_ACTIVE: develop