-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathapphosting.yaml
More file actions
96 lines (92 loc) · 2.19 KB
/
apphosting.yaml
File metadata and controls
96 lines (92 loc) · 2.19 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
92
93
94
95
96
# 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:
- variable: DATABASE_URL
secret: codex-database-url
availability:
- BUILD
- RUNTIME
- variable: NEXTAUTH_SECRET
secret: codex-nextauth-secret
availability:
- BUILD
- RUNTIME
- variable: AUTH_PROVIDER_URL
secret: codex-auth-provider-url
availability:
- BUILD
- RUNTIME
- variable: NEXTAUTH_URL
secret: codex-nextauth-url
availability:
- BUILD
- RUNTIME
- variable: NEXT_PUBLIC_NEXTAUTH_URL
secret: codex-next-public-nextauth-url
availability:
- BUILD
- RUNTIME
- variable: OAUTH_REDIRECT_URI
secret: codex-oauth-redirect-uri
availability:
- BUILD
- RUNTIME
- variable: OAUTH_CLIENT_ID
secret: codex-oauth-client-id
availability:
- BUILD
- RUNTIME
- variable: OAUTH_CLIENT_SECRET
secret: codex-oauth-client-secret
availability:
- BUILD
- RUNTIME
- variable: SENDGRID_API_KEY
secret: codex-sendgrid-api-key
availability:
- BUILD
- RUNTIME
- variable: FROM_EMAIL
secret: codex-from-email
availability:
- BUILD
- RUNTIME
# Database connection mode: "connector" (Cloud SQL Connector) or "direct" (DATABASE_URL).
- variable: DB_CONNECTION_MODE
secret: codex-db-connection-mode
availability:
- RUNTIME
- BUILD
# Cloud SQL Connector settings (only used when DB_CONNECTION_MODE=connector).
- variable: CLOUD_SQL_CONNECTION_NAME
value: f3data:us-central1:f3data
availability:
- RUNTIME
- variable: DB_USER
value: app_codex
availability:
- RUNTIME
- variable: DB_PASSWORD
secret: client-database-password
availability:
- RUNTIME
- variable: DB_NAME
value: f3_prod
availability:
- RUNTIME
- variable: DB_SCHEMA
value: codex,public
availability:
- RUNTIME
- variable: CLOUD_SQL_IP_TYPE
secret: codex-cloud-sql-ip-type
availability:
- RUNTIME
- BUILD