Stand along SPASE metadata validator.
Code to run the JAVA based validation service in a Java application server.
docker-build.sh: Build (or rebuild) a docker image with the validate service.
docker-up.sh: Run a container with the validate service image.
docker-down.sh: Stop the validate service container and remove the container.
8080 : Web server
website: var/lib/jetty/webapps/ROOT
docker build -t spase-validate .
- Use option "-p" to map to host port.
- mount web site content at /var/lib/jetty/webapps/ROOT
- mount logs at /var/lib/jetty/logs
name=spase-website
docker run -p $port:8080 -d --name $name --restart unless-stopped \
--mount type=bind,src=$(pwd)/../site,dst=/var/lib/jetty/webapps/ROOT \
$name