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

super high cpu usage when doing docker-compose up #56

Open
nicolasburtey opened this issue Aug 13, 2022 · 2 comments
Open

super high cpu usage when doing docker-compose up #56

nicolasburtey opened this issue Aug 13, 2022 · 2 comments

Comments

@nicolasburtey
Copy link
Member

my CPU close to 100% even 10 minutes after launching docker-compose up.
from the output, it seems one of the container doing a cargo build like operation that is very CPU heavy

stablesats-rs-integration-tests-1  | cargo nextest run --all-features --verbose --locked
stablesats-rs-integration-tests-1  |     Updating crates.io index

shouldn't the build be in the docker image itself? is there not an image that have this already packaged?

@bodymindarts
Copy link
Member

That image is only needed to run the integration tests in ci... the only deps you need to run it locally are:
docker compose up -d integration-deps

@bodymindarts
Copy link
Member

This is FYI the same pattern we are using in the galoy backend

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