🔨 Add roadsign config
This commit is contained in:
parent
f80df60858
commit
295d2d5b95
16
.roadsignrc
Normal file
16
.roadsignrc
Normal file
@ -0,0 +1,16 @@
|
||||
{
|
||||
"sync": {
|
||||
"region": "capital",
|
||||
"configPath": "roadsign.toml"
|
||||
},
|
||||
"deployments": [
|
||||
{
|
||||
"region": "capital",
|
||||
"site": "capital-app",
|
||||
"path": ".output",
|
||||
"postDeploy": {
|
||||
"command": "apk add nodejs npm; cd server && npm install --platform=linux --arch=x64 sharp"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
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://127.0.0.1:3000"
|
||||
|
||||
[[applications]]
|
||||
id = "capital-app"
|
||||
workdir = "/workdir/capital"
|
||||
command = ["node", "server/index.mjs"]
|
||||
environment = []
|
Loading…
Reference in New Issue
Block a user