-
-
Save SirajChokshi/8ed59ea90389601ec66ddaa519ccd7fb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "https://app.flightcontrol.dev/schema.json", | |
"environments": [ | |
{ | |
"id": "production", | |
"name": "Production", | |
"region": "us-west-2", | |
"source": { | |
"branch": "main" | |
}, | |
"services": [ | |
{ | |
"id": "redwood-api", | |
"name": "Redwood API", | |
"domain": "streets-api.siraj.page", | |
"type": "fargate", | |
"buildType": "nixpacks", | |
"cpu": 0.5, | |
"memory": 1, | |
"buildCommand": "yarn rw deploy flightcontrol api", | |
"startCommand": "yarn rw deploy flightcontrol api --serve", | |
"port": 8911, | |
"healthCheckPath": "/graphql/health", | |
"envVariables": { | |
"REDWOOD_WEB_URL": "https://streets.siraj.page" | |
} | |
}, | |
{ | |
"id": "redwood-web", | |
"name": "Redwood Web", | |
"domain": "streets.siraj.page", | |
"type": "static", | |
"buildType": "nixpacks", | |
"singlePageApp": true, | |
"buildCommand": "yarn rw deploy flightcontrol web", | |
"outputDirectory": "web/dist", | |
"envVariables": { | |
"REDWOOD_API_URL": "https://streets-api.siraj.page" | |
} | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment