This is a eXist DB image build on top of official openjdk:8-jre-slim image.
100K+
This is an eXist DB docker image build on top of an official openjdk:8-jre-slim image.
6.3.0-jre17, 6.3-jre17, 6-jre17, 6.3.0, 6.3, 6, latest6.3.0-jre11, 6.3-jre11, 6-jre116.2.0-jre17, 6.2-jre17, 6.2.0, 6.26.2.0-jre11, 6.2-jre115.5.2-jre8, 5.5-jre8, 5-jre8, 5.5.2, 5.5, 54.11.2-jre8, 4.11-jre8, 4-jre8, 4.11.2, 4.11, 4This image is inspired by davidgaya/docker-eXistDB but adds adjustments to configuration files for development and production purposes.
Second, it is designed to work with TEI files in general—and with the WeGA-WebApp in
particular—so the default settings in eXist's conf.xml for whitespace handling and serialization reflect this.
Navigate into the root directory of this repository and enter:
docker build -t existdb --build-arg VERSION=5.2.0 .
-e JAVA_OPTIONS="-Xmx1024m"docker run --rm -it \
-p 8080:8080 \
--name existdb \
-v /your/path/to/exist-data:/opt/exist/data \
-v /your/path/to/exist-logs:/opt/exist/logs \
-e EXIST_ENV=development \
-e EXIST_CONTEXT_PATH=/exist \
stadlerpeter/existdb:latest
/exist,
which means you'll find eXist at http://localhost:8080/exist/ but you
may change this to simply / and your default app will repond at http://localhost:8080/xmldb:exist:///db/apps/WeGA-WebApp.
This default app will respond directly at the $EXIST_CONTEXT_PATH (while all other apps are still
available at /apps/).The admin password can be supplied via the $EXIST_PASSWORD environment variable or the equivalent Docker secret $EXIST_PASSWORD_FILE.
If none of these variables are set (or both contain empty values) a random password will be generated and echoed to the logs.
# docker-compose.yml
version: "3.6"
services:
existdb:
image: stadlerpeter/existdb:latest
ports:
- 8080:8080
environment:
- EXIST_PASSWORD_FILE=/run/secrets/existdb_passwd
restart: unless-stopped
secrets:
- source: existdb_passwd
volumes:
- existdb_data:/opt/exist/data
secrets:
existdb_passwd:
file: /local/path/to/password-file
volumes:
existdb_data:
This Dockerfile is licensed under a MIT license.
eXist is licensed under the GNU Lesser General Public License v2.1.
Content type
Image
Digest
sha256:9f687305c…
Size
252.4 MB
Last updated
3 days ago
docker pull stadlerpeter/existdb