-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathapphosting.yaml
More file actions
91 lines (74 loc) · 2.18 KB
/
Copy pathapphosting.yaml
File metadata and controls
91 lines (74 loc) · 2.18 KB
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
# Settings for Backend (on Cloud Run).
# See https://firebase.google.com/docs/app-hosting/configure#cloud-run
runConfig:
minInstances: 0
# maxInstances: 100
# concurrency: 80
# cpu: 1
# memoryMiB: 512
# Environment variables and secrets.
# See https://firebase.google.com/docs/app-hosting/configure#user-defined-environment
env:
- variable: apiUrl
value: https://kidlytics--kidlytics.europe-west4.hosted.app
availability:
- BUILD
- RUNTIME
- variable: FRONTEND_BASE_URL
value: https://kidlytics--kidlytics.europe-west4.hosted.app
availability:
- BUILD
- RUNTIME
- variable: authDomain
value: kidlytics.firebaseapp.com
availability:
- BUILD
- RUNTIME
- variable: projectId
value: kidlytics
availability:
- BUILD
- RUNTIME
- variable: storageBucket
value: kidlytics.firebasestorage.app
availability:
- BUILD
- RUNTIME
- variable: messagingSenderId
value: 95440248217
availability:
- BUILD
- RUNTIME
- variable: appId
value: 1:95440248217:web:d1350139d9daacd658c708
availability:
- BUILD
- RUNTIME
- variable: gcpProjectId
value: kidlytics
availability:
- BUILD
- RUNTIME
- variable: PORT
value: 8080
availability:
- BUILD
- RUNTIME
- variable: apiKey
secret: projects/95440248217/secrets/apiKey/versions/3
- variable: GEMINI_API_KEY
secret: projects/95440248217/secrets/GEMINI_API_KEY/versions/1
- variable: ADMIN_PASSWORD
secret: projects/95440248217/secrets/ADMIN_PASSWORD/versions/1
- variable: enableStoryGenerationLimit
secret: projects/95440248217/secrets/enableStoryGenerationLimit/versions/1
- variable: storyGenerationLimit
secret: projects/95440248217/secrets/storyGenerationLimit/versions/1
- variable: validatePasswordUrl
secret: projects/95440248217/secrets/validatePasswordUrl/versions/1
- variable: rateLimiterUrl
secret: projects/95440248217/secrets/rateLimiterUrl/versions/1
# Build and run commands
scripts:
buildCommand: "node scripts/generate-env.js && ng build --configuration production"
runCommand: "node dist/kidlytics/server/server.mjs"