serpbear icon indicating copy to clipboard operation
serpbear copied to clipboard

Any way to run it on any other port than 3000?

Open abhranil26 opened this issue 2 years ago • 2 comments

I am trying to run multiple containers of serpbear with nginx, I figured out the multisite part in nginx and its working well but when I try to run serpbear on any other port than 3000 it doesn't work.

abhranil26 avatar Dec 24 '22 10:12 abhranil26

Open the directory with the project Find the package.json file Replace the line "start": "next start", To the line "start": "next start -p 1234", where 1234 is the port you want

gggglglglg avatar Dec 24 '22 21:12 gggglglglg

@ermaxinc suggestion works but if you don't want to modify package.json (which could make updates a bit awkward) you can also launch with

npm start -- -p 1234

millette avatar Dec 27 '22 05:12 millette