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

Infinite Loading Issue After Following Docker Installation Tutorial #467

Closed
kingdomad opened this issue Nov 15, 2024 · 4 comments
Closed
Labels
bug Something isn't working

Comments

@kingdomad
Copy link

Describe the bug
After following the tutorial steps to start the application using Docker, the page keeps loading indefinitely.

To Reproduce
Steps to reproduce the behavior:

  1. Follow the tutorial to start the application using Docker.
  2. Access the application’s webpage as instructed in the tutorial.
  3. Observe that the page keeps loading without any content.

Expected behavior
I expected the page to load normally and display the application content.

Screenshots
image

@kingdomad kingdomad added the bug Something isn't working label Nov 15, 2024
@atomicangel
Copy link

I just updated the docker containers on my system and that is when the issue started for me as well. I double checked my configuration (I'm not using a .env file that I can see if that matters.) in the docker-compose.yaml and it looks like it wasn't modified since I last restarted the containers. I then tried git pull on the local folder and it made some changes and the issue persists.

I also made sure my ollama instance was up to date as well, to eliminate that as a source of trouble.

@kingdomad
Copy link
Author

kingdomad commented Nov 16, 2024

Edit the docker-compose.yaml and change the 127.0.0.1 in the args to the server's IP address:

perplexica-frontend:
    build:
      context: .
      dockerfile: app.dockerfile
      args:
        - NEXT_PUBLIC_API_URL=http://127.0.0.1:3001/api
        - NEXT_PUBLIC_WS_URL=ws://127.0.0.1:3001

This way, it will run successfully.

@atomicangel
Copy link

atomicangel commented Nov 16, 2024 via email

@nanhoes
Copy link

nanhoes commented Nov 16, 2024

same issue

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

No branches or pull requests

3 participants