modules = ["nodejs-20", "web", "postgresql-16"]
run = "npm run dev"
hidden = [".config", ".git", "generated-icon.png", "node_modules", "dist"]

[nix]
channel = "stable-24_05"
packages = ["cairo", "pango", "libuuid", "libjpeg", "giflib"]

[deployment]
deploymentTarget = "autoscale"
build = ["npm", "run", "build"]
run = ["npm", "run", "start"]

[[ports]]
localPort = 5000
externalPort = 80

[[ports]]
localPort = 33821
externalPort = 8099

[[ports]]
localPort = 34045
externalPort = 3003

[[ports]]
localPort = 35357
externalPort = 3002

[[ports]]
localPort = 35385
externalPort = 6800

[[ports]]
localPort = 37431
externalPort = 5000

[[ports]]
localPort = 37567
externalPort = 9000

[[ports]]
localPort = 37659
externalPort = 4200

[[ports]]
localPort = 38631
externalPort = 8080

[[ports]]
localPort = 39065
externalPort = 8081

[[ports]]
localPort = 40537
externalPort = 3000

[[ports]]
localPort = 41803
externalPort = 8008

[[ports]]
localPort = 42161
externalPort = 6000

[[ports]]
localPort = 43245
externalPort = 3001

[[ports]]
localPort = 45547
externalPort = 8000

[[ports]]
localPort = 46681
externalPort = 5173

[env]
PORT = "5000"

[agent]
integrations = ["javascript_object_storage:1.0.0", "javascript_database:1.0.0"]

[workflows]
runButton = "Project"

[[workflows.workflow]]
name = "Project"
mode = "parallel"
author = "agent"

[[workflows.workflow.tasks]]
task = "workflow.run"
args = "Start application"

[[workflows.workflow]]
name = "Start application"
author = "agent"

[[workflows.workflow.tasks]]
task = "shell.exec"
args = "npm run dev"
waitForPort = 5000
