Modify server/node-build.ts to bind to host "0.0.0.0" and use port 5000 for production deployments. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 9203795e-937a-4306-b81d-b4d5c78c240e Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Event-Id: b9d17033-bdc5-48c2-8dbe-b1b7c3faf64a Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7c94b7a0-29c7-4f2e-94ef-44b2153872b7/9203795e-937a-4306-b81d-b4d5c78c240e/qPXTzuE Replit-Helium-Checkpoint-Created: true
67 lines
1.1 KiB
Text
67 lines
1.1 KiB
Text
modules = ["nodejs-20", "web", "postgresql-16"]
|
|
[agent]
|
|
expertMode = true
|
|
integrations = ["javascript_gemini_ai_integrations:1.0.0"]
|
|
|
|
[nix]
|
|
channel = "stable-25_05"
|
|
packages = ["imagemagick"]
|
|
|
|
[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
|
|
|
|
[workflows.workflow.metadata]
|
|
outputType = "webview"
|
|
|
|
[[ports]]
|
|
localPort = 5000
|
|
externalPort = 80
|
|
|
|
[[ports]]
|
|
localPort = 8044
|
|
externalPort = 3003
|
|
|
|
[[ports]]
|
|
localPort = 8080
|
|
externalPort = 8080
|
|
|
|
[[ports]]
|
|
localPort = 33165
|
|
externalPort = 3002
|
|
|
|
[[ports]]
|
|
localPort = 38557
|
|
externalPort = 3000
|
|
|
|
[[ports]]
|
|
localPort = 40437
|
|
externalPort = 3001
|
|
|
|
[deployment]
|
|
deploymentTarget = "autoscale"
|
|
run = ["node", "dist/server/production.mjs"]
|
|
build = ["npm", "run", "build"]
|
|
|
|
[userenv]
|
|
|
|
[userenv.shared]
|
|
DISCORD_MAIN_CHAT_CHANNELS = "1425114041021497454"
|
|
MAINTENANCE_MODE = "true"
|