-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapphosting.yaml
More file actions
79 lines (75 loc) · 2.02 KB
/
apphosting.yaml
File metadata and controls
79 lines (75 loc) · 2.02 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
# 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.
env:
# Configure environment variables for Sanity CMS
# See https://firebase.google.com/docs/app-hosting/configure#user-defined-environment
- variable: NEXT_PUBLIC_SANITY_PROJECT_ID
value: okw4h2hy
availability:
- BUILD
- RUNTIME
- variable: NEXT_PUBLIC_SANITY_DATASET
value: production
availability:
- BUILD
- RUNTIME
- variable: NEXT_PUBLIC_SANITY_API_VERSION
value: 2024-05-01
availability:
- BUILD
- RUNTIME
- variable: NEXT_PUBLIC_SANITY_STUDIO_URL
value: https://ahsnjrotc.sanity.studio
availability:
- BUILD
- RUNTIME
# Grant access to secrets in Cloud Secret Manager.
# See https://firebase.google.com/docs/app-hosting/configure#secret-parameters
- variable: SANITY_API_READ_TOKEN
secret: sanity-api-read-token
availability:
- BUILD
- RUNTIME
- variable: SANITY_VIEWER_TOKEN
secret: sanity-viewer-token
availability:
- BUILD
- RUNTIME
# Firebase public keys
- variable: NEXT_PUBLIC_FIREBASE_API_KEY
value: "AIzaSyDC7XK6b9lxtYJnzGsdm-d6yyUdTA1ZSIU"
availability:
- BUILD
- RUNTIME
- variable: NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN
value: "ahs-njrotc-v2.firebaseapp.com"
availability:
- BUILD
- RUNTIME
- variable: NEXT_PUBLIC_FIREBASE_PROJECT_ID
value: "ahs-njrotc-v2"
availability:
- BUILD
- RUNTIME
- variable: NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET
value: "ahs-njrotc-v2.appspot.com"
availability:
- BUILD
- RUNTIME
- variable: NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID
value: "1398209934"
availability:
- BUILD
- RUNTIME
- variable: NEXT_PUBLIC_FIREBASE_APP_ID
value: "1:1398209934:web:fd1412472750c4373fb8df"
availability:
- BUILD
- RUNTIME