|
| 1 | +{ |
| 2 | + "name": "rr7-remix-auth", |
| 3 | + "main": "./workers/server.ts", |
| 4 | + |
| 5 | + "compatibility_date": "2024-11-18", |
| 6 | + "compatibility_flags": ["nodejs_compat"], |
| 7 | + |
| 8 | + /** |
| 9 | + * Static Assets |
| 10 | + * @see https://developers.cloudflare.com/workers/wrangler/configuration/#static-assets |
| 11 | + */ |
| 12 | + "assets": { |
| 13 | + "directory": "./build/client/" |
| 14 | + }, |
| 15 | + |
| 16 | + /** |
| 17 | + * Cloudflare Workers accounts come with a workers.dev subdomain that is configurable in the Cloudflare dashboard. |
| 18 | + */ |
| 19 | + "workers_dev": true, |
| 20 | + |
| 21 | + /** |
| 22 | + * Whether Wrangler should keep variables configured in the dashboard on deploy. |
| 23 | + * @see https://developers.cloudflare.com/workers/wrangler/configuration/ |
| 24 | + */ |
| 25 | + "keep_vars": true, |
| 26 | + |
| 27 | + /** |
| 28 | + * Configures automatic observability settings for telemetry data emitted from your Worker. |
| 29 | + * @see https://developers.cloudflare.com/workers/wrangler/configuration/#observability |
| 30 | + */ |
| 31 | + "observability": { |
| 32 | + "enabled": true |
| 33 | + }, |
| 34 | + |
| 35 | + |
| 36 | + "kv_namespaces": [ |
| 37 | + { |
| 38 | + "binding": "APP_KV", |
| 39 | + "id": "app_kv_id", |
| 40 | + "preview_id": "app_kv_preview_id" |
| 41 | + } |
| 42 | + ], |
| 43 | + |
| 44 | + "d1_databases": [ |
| 45 | + { |
| 46 | + "binding": "DB", |
| 47 | + "database_name": "rr7-remix-auth", |
| 48 | + "database_id": "database_id", |
| 49 | + "migrations_dir": "drizzle" |
| 50 | + } |
| 51 | + ], |
| 52 | + |
| 53 | + "vars": { |
| 54 | + "ENVIRONMENT": "development", |
| 55 | + "APP_URL": "http://localhost:5173", |
| 56 | + "SESSION_SECRET": "3ebc25b381e87193f29ffea6b6d380dd", |
| 57 | + "HONEYPOT_SECRET": "3ebc25b381e87193f29ffea6b6d380aa", |
| 58 | + "GITHUB_CLIENT_ID": "...", |
| 59 | + "GITHUB_CLIENT_SECRET": "...", |
| 60 | + "GOOGLE_CLIENT_ID": "...apps.googleusercontent.com", |
| 61 | + "GOOGLE_CLIENT_SECRET": "...", |
| 62 | + "RESEND_API_KEY": "re_..." |
| 63 | + } |
| 64 | +} |
0 commit comments