Skip to content

Commit

Permalink
Update image and JVM options
Browse files Browse the repository at this point in the history
  • Loading branch information
sosguthorpe committed Dec 4, 2019
1 parent 1d4ca4e commit 3c29b29
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion service/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ task createDockerfile(type: Dockerfile, dependsOn: prepareDocker) {

destFile = project.file("${dockerBuildDir}/Dockerfile")

from 'folioci/openjdk8-jre-alpine:latest'
from 'folioci/alpine-jre-openjdk8:latest'
maintainer 'Knowledge Integration'

exposePort 8080
Expand Down
2 changes: 1 addition & 1 deletion service/src/main/okapi/ModuleDescriptor-template.json
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@
},
"dockerPull" : false,
"env": [
{ "name": "JAVA_OPTIONS", "value": "-server -Xmx384M -XX:+PrintFlagsFinal" },
{ "name": "JAVA_OPTIONS", "value": "-server -XX:+UseContainerSupport -XX:MaxRAMPercentage=50.0 -XX:+PrintFlagsFinal" },
{ "name": "DB_HOST", "value": "postgres" },
{ "name": "DB_PORT", "value": "5432" },
{ "name": "DB_USERNAME", "value": "folio_admin" },
Expand Down

0 comments on commit 3c29b29

Please sign in to comment.