Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change port to 3001/3002 #365

Closed
daniyalhaider99 opened this issue Jun 24, 2024 · 1 comment
Closed

Change port to 3001/3002 #365

daniyalhaider99 opened this issue Jun 24, 2024 · 1 comment

Comments

@daniyalhaider99
Copy link

I was setting up cal.com application on my local. Due to other applications running in i was unable to run the project on port 3000. I made changes in the Dockerfile and docker-compose.yml file and also the .env but still i get this fetch error and upon checking logs of container it shows url localhost:3000 but this url never opens.

Any help regarding issue this would be appreciated.

@jshimko
Copy link

jshimko commented Jun 30, 2024

@daniyalhaider99 You can change it to whatever you want with Docker's port mapping configs. If you're using the docker-compose config from this repo, see the port section.

ports:
  - 3000:3000

...which means $LOCALHOST_PORT:$CONTAINER_PORT

For example, if you want port http://localhost:3002 to work, you could do...

ports:
  - 3002:3000

Also see Docker and Docker Compose docs for more detail.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants