-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathapphosting.yaml
More file actions
56 lines (46 loc) · 1.43 KB
/
Copy pathapphosting.yaml
File metadata and controls
56 lines (46 loc) · 1.43 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
# Firebase App Hosting configuration for Jules Task Queue
# Cloud Run service settings optimized for a queue processing system
runConfig:
# Keep at least 1 instance warm to handle webhooks quickly
minInstances: 1
# Scale up to handle traffic spikes
maxInstances: 10
# Allow multiple concurrent requests per instance
concurrency: 80
# 1 CPU should be sufficient for most operations
cpu: 1
# 1GB memory for database operations and task processing
memoryMiB: 1024
# Environment variables and secrets
env:
# Database connection - using secret for security
- variable: DATABASE_URL
secret: DATABASE_URL
# GitHub App integration - using secrets for security
- variable: NEXT_PUBLIC_GITHUB_APP_ID
secret: NEXT_PUBLIC_GITHUB_APP_ID
- variable: GITHUB_APP_PRIVATE_KEY
secret: GITHUB_APP_PRIVATE_KEY
- variable: GITHUB_APP_WEBHOOK_SECRET
secret: GITHUB_APP_WEBHOOK_SECRET
- variable: GITHUB_APP_CLIENT_ID
secret: GITHUB_APP_CLIENT_ID
- variable: GITHUB_APP_CLIENT_SECRET
secret: GITHUB_APP_CLIENT_SECRET
- variable: NEXT_PUBLIC_GITHUB_APP_NAME
secret: NEXT_PUBLIC_GITHUB_APP_NAME
# Cron job authentication
- variable: CRON_SECRET
secret: CRON_SECRET
# Next.js environment
- variable: NODE_ENV
value: production
availability:
- BUILD
- RUNTIME
# Optimize Next.js build
- variable: NEXT_TELEMETRY_DISABLED
value: "1"
availability:
- BUILD
- RUNTIME