Adds port configurations to the .replit file, mapping external port 80 to local port 5000. Replit-Commit-Author: Assistant
33 lines
549 B
Plaintext
33 lines
549 B
Plaintext
modules = ["nodejs-20", "python-3.11"]
|
|
|
|
[nix]
|
|
channel = "stable-24_05"
|
|
|
|
[workflows]
|
|
runButton = "Project"
|
|
|
|
[[workflows.workflow]]
|
|
name = "Project"
|
|
mode = "parallel"
|
|
author = "agent"
|
|
|
|
[[workflows.workflow.tasks]]
|
|
task = "workflow.run"
|
|
args = "Portal Amixx Server"
|
|
|
|
[[workflows.workflow]]
|
|
name = "Portal Amixx Server"
|
|
author = "agent"
|
|
|
|
[[workflows.workflow.tasks]]
|
|
task = "shell.exec"
|
|
args = "python3 -m http.server 5000"
|
|
waitForPort = 5000
|
|
|
|
[deployment]
|
|
run = ["sh", "-c", "python3 -m http.server 5000"]
|
|
|
|
[[ports]]
|
|
localPort = 5000
|
|
externalPort = 80
|