🧱 Using RoadSign instead of Vercel to deploy
This commit is contained in:
		
							
								
								
									
										13
									
								
								.roadsignrc
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								.roadsignrc
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,13 @@ | ||||
| { | ||||
|   "sync": { | ||||
|     "region": "capital", | ||||
|     "configPath": "roadsign.toml" | ||||
|   }, | ||||
|   "deployments": [ | ||||
|     { | ||||
|       "region": "capital", | ||||
|       "site": "capital-app", | ||||
|       "path": ".next" | ||||
|     } | ||||
|   ] | ||||
| } | ||||
| @@ -3,6 +3,7 @@ import type { NextConfig } from 'next' | ||||
| const nextConfig: NextConfig = { | ||||
|   /* config options here */ | ||||
|   reactStrictMode: true, | ||||
|   output: 'standalone', | ||||
|   generateBuildId: async () => { | ||||
|     return process.env.GIT_HASH ?? 'development' | ||||
|   }, | ||||
|   | ||||
| @@ -5,6 +5,7 @@ | ||||
|   "scripts": { | ||||
|     "dev": "next dev --turbopack", | ||||
|     "build": "next build", | ||||
|     "build-standalone": "next build && cp -r .next/static .next/standalone/.next/ && cp -r public .next/standalone", | ||||
|     "start": "next start", | ||||
|     "lint": "next lint" | ||||
|   }, | ||||
|   | ||||
							
								
								
									
										15
									
								
								roadsign.toml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								roadsign.toml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,15 @@ | ||||
| id = "capital" | ||||
|  | ||||
| [[locations]] | ||||
| id = "capital" | ||||
| hosts = ["solsynth.dev", "www.solsynth.dev"] | ||||
| paths = ["/"] | ||||
| [[locations.destinations]] | ||||
| id = "capital-destination" | ||||
| uri = "http://localhost:3000" | ||||
|  | ||||
| [[applications]] | ||||
| id = "capital-app" | ||||
| workdir = "/workdir/capital" | ||||
| command = ["node", "standalone/server.js"] | ||||
| environment = ["HOSTNAME=0.0.0.0"] | ||||
		Reference in New Issue
	
	Block a user