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

Docker compose build process never ends #285

Open
ManuelPuentes opened this issue Nov 23, 2024 · 4 comments
Open

Docker compose build process never ends #285

ManuelPuentes opened this issue Nov 23, 2024 · 4 comments
Assignees
Labels
devops (bug) an issue with devops Medium Points Estimate Issue will generate medium points. Can be solved in hours to a day.

Comments

@ManuelPuentes
Copy link

The build process it never ends but it's not trowing errors neither not sure how to fixed this

@RAIReth
Copy link
Collaborator

RAIReth commented Nov 25, 2024

Can you share the docker compose commands you used with screenshots and logs of what happens?

Try this yaml and it should work. It has less complications (no ssl etc)

https://github.com/rairprotocol/rair-dapp/blob/main/docker-compose.local-new.yml

@sarora180673
Copy link
Collaborator

Instead of building Docker images locally, application can be started using Docker images available on Docker Hub also using the command
docker-compose -f docker-compose-web.yml up -d

@ManuelPuentes
Copy link
Author

Can you share the docker compose commands you used with screenshots and logs of what happens?

Try this yaml and it should work. It has less complications (no ssl etc)

https://github.com/rairprotocol/rair-dapp/blob/main/docker-compose.local-new.yml

@RAIReth
command:
docker compose -f docker-compose.local-new.yml up -d

result: never ends but its not trowing errors, logs ends in npm install

BUILD DOCKER IMAGE

@sarora180673 docker-compose-web.yml file works fine! thank you , it seems only need to add the required env variables for the correct behavior of the services

@sarora180673
Copy link
Collaborator

@ManuelPuentes Yes, you need to copy .env.sample to .env before executing the docker-compose command.
.env.sample already has bare minimum environment variables needed for starting the application

@RAIReth RAIReth added devops (bug) an issue with devops Medium Points Estimate Issue will generate medium points. Can be solved in hours to a day. labels Nov 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
devops (bug) an issue with devops Medium Points Estimate Issue will generate medium points. Can be solved in hours to a day.
Projects
None yet
Development

No branches or pull requests

3 participants