Skip to content

Conversation

@antoinebhs
Copy link
Contributor

PR Summary

Simplify local development with native image. We don't need to change docker compose file to switch from native to jvm image when we build the image locally anymore.
Now, we can directly build the directory-server image and it will replace the image in the local deployment.
Changing the memory limits to support JVM/native does not make much changes as the native image consumes anyway very little memory (contrary to the JVM without any limits)

sysctls:
- net.ipv4.ip_unprivileged_port_start=0 # for docker < 20.03.0
memswap_limit: 256m #jvm image: 512m
memswap_limit: 512m
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

256m ?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No ok. If we override with the jvm image, we need to have the 512m

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

Successfully merging this pull request may close these issues.

3 participants