-
Notifications
You must be signed in to change notification settings - Fork 8
/
score.5min.yaml
58 lines (53 loc) · 1.24 KB
/
score.5min.yaml
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
apiVersion: score.dev/v1b1
metadata:
name: backstage
service:
ports:
backstage:
port: 7007
targetPort: 7007
containers:
backstage:
command:
- "node"
args:
- packages/backend
- "--config"
- app-config.5min.yaml
image: .
resources:
limits:
cpu: "1"
memory: 1024Mi
requests:
cpu: "0.025"
memory: 64Mi
variables:
APP_CONFIG_app_baseUrl: https://${resources.dns.host}
APP_CONFIG_backend_baseUrl: https://${resources.dns.host}
APP_CONFIG_backend_cors_origin: https://${resources.dns.host}
HUMANITEC_ORG_ID: ${resources.env.HUMANITEC_ORG_ID}
HUMANITEC_TOKEN: ${resources.env.HUMANITEC_TOKEN}
POSTGRES_HOST: ${resources.db.host}
POSTGRES_PASSWORD: ${resources.db.password}
POSTGRES_PORT: ${resources.db.port}
POSTGRES_USER: ${resources.db.username}
CLOUD_PROVIDER: ${resources.env.CLOUD_PROVIDER}
NODE_TLS_REJECT_UNAUTHORIZED: "0"
volumes:
- source: volumes.tmp
target: /tmp
readOnly: false
resources:
env:
type: environment
dns:
type: dns
route:
type: route
params:
host: ${resources.dns.host}
path: /
port: 7007
db:
type: postgres