serpbear
serpbear copied to clipboard
Any way to run it on any other port than 3000?
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.
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
@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