Skip to content

Commit

Permalink
update flightcontrol deploy config (#6494)
Browse files Browse the repository at this point in the history
* update flightcontrol deploy config

* Fix quote style
  • Loading branch information
flybayer authored Oct 3, 2022
1 parent 2ce1f04 commit 6e77af7
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
export const flightcontrolConfig = {
$schema: 'https://app.flightcontrol.dev/schema.json',
environments: [
{
id: 'development',
Expand All @@ -12,10 +13,9 @@ export const flightcontrolConfig = {
id: 'redwood-api',
name: 'Redwood API',
type: 'fargate',
buildType: 'nixpacks',
cpu: 0.25,
memory: 0.5,
installCommand:
'yarn set version stable && NODE_ENV=development yarn install --immutable',
buildCommand: 'yarn rw deploy flightcontrol api',
startCommand: 'yarn rw deploy flightcontrol api --serve',
postBuildCommand: 'echo 0',
Expand All @@ -31,9 +31,8 @@ export const flightcontrolConfig = {
id: 'redwood-web',
name: 'Redwood Web',
type: 'static',
buildType: 'nixpacks',
singlePageApp: true,
installCommand:
'yarn set version stable && NODE_ENV=development yarn install --immutable',
buildCommand: 'yarn rw deploy flightcontrol web',
outputDirectory: 'web/dist',
envVariables: {
Expand Down

0 comments on commit 6e77af7

Please sign in to comment.