Skip to content

Commit

Permalink
overwrite default healthcheck #222
Browse files Browse the repository at this point in the history
and explicitly set `-ouri`
  • Loading branch information
peterstadler committed Oct 16, 2024
1 parent 342bb80 commit 6c3e10e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,12 @@ RUN ["java", "net.sf.saxon.Transform", "-s:/exist/etc/log4j2.xml", "-xsl:/exist/
#RUN [ "java", \
# "org.exist.start.Main", "client", "-l", \
# "--no-gui", "--xpath", "system:get-version()" ]

# overwrite default healthcheck and explicitly set `-ouri`
# see https://github.com/Edirom/MerMEId/issues/222
HEALTHCHECK CMD [ "java", \
"org.exist.start.Main", "client", \
"--no-gui", \
"--user", "guest", "--password", "guest", \
"-ouri=xmldb:exist://localhost:8080/xmlrpc", \
"--xpath", "system:get-version()" ]

0 comments on commit 6c3e10e

Please sign in to comment.