don't use cgroups in docker
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
d4a2d9925c
commit
24692d7635
@ -11,4 +11,4 @@ USER $APPLICATION_USER
|
|||||||
COPY ./build/libs/output-service-rdb.jar /app/output-service-rdb.jar
|
COPY ./build/libs/output-service-rdb.jar /app/output-service-rdb.jar
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
CMD ["java", "-server", "-XX:+UnlockExperimentalVMOptions", "-XX:+UseCGroupMemoryLimitForHeap", "-XX:InitialRAMFraction=2", "-XX:MinRAMFraction=2", "-XX:MaxRAMFraction=2", "-XX:+UseG1GC", "-XX:MaxGCPauseMillis=100", "-XX:+UseStringDeduplication", "-jar", "output-service-rdb.jar"]
|
CMD ["java", "-server", "-XX:+UnlockExperimentalVMOptions", "-XX:InitialRAMFraction=2", "-XX:MinRAMFraction=2", "-XX:MaxRAMFraction=2", "-XX:+UseG1GC", "-XX:MaxGCPauseMillis=100", "-XX:+UseStringDeduplication", "-jar", "output-service-rdb.jar"]
|
@ -34,6 +34,7 @@ fun Application.module() {
|
|||||||
gson {
|
gson {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
install(Koin) {
|
install(Koin) {
|
||||||
printLogger()
|
printLogger()
|
||||||
modules(com.kmalbz.di.injectionModule)
|
modules(com.kmalbz.di.injectionModule)
|
||||||
|
Loading…
Reference in New Issue
Block a user