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

Setup Script / Docker Compose: Custom port does not work, attempting to access graphql on port 3000 still #6341

Open
scosman opened this issue Jul 19, 2024 · 4 comments
Labels
type: bug Something isn't working

Comments

@scosman
Copy link

scosman commented Jul 19, 2024

Summary:

Attempting to access graphql on the wrong port.

Steps:

  1. Create a fresh install using the setup script here (bash <(curl -sL https://git.new/20)):
  2. it properly detects port 3000 is in use and prompts for another port
  3. if updates the docker-compose file with the new port
  4. Launch the applicaiton

Expected

App to work

Actual

App is just a white page. Web console show errors from trying to connect to graphql on port 3000 (this docker container isn't bound to that port, should be connecting on new custom port).

@scosman scosman added the type: bug Something isn't working label Jul 19, 2024
@Murkyskate
Copy link

Hey can you please share the screenshot of change that you have made for the ports?

@scosman
Copy link
Author

scosman commented Jul 19, 2024

I didn't make manual changes, this all came out of setup script. It makes the needed change in docker-compose, but not in .env

Setup Script:

Screenshot 2024-07-19 at 12 06 40 PM

Docker compose now has:
Screenshot 2024-07-19 at 12 07 11 PM

The issue - the .env file isn't updated so internally it's looking for the wrong port
Screenshot 2024-07-19 at 12 08 39 PM

@Murkyskate
Copy link

Yeah so you have done it correctly try doing compose build again

@scosman
Copy link
Author

scosman commented Jul 20, 2024

Oh yeah. I resolved it.

Just reporting that the setup script a bug. It has an option to set port that doesn’t work out of the box.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants