Skip to content

spase-group/validate-service

Repository files navigation

SPASE Metadata Validator

Stand along SPASE metadata validator.

Code to run the JAVA based validation service in a Java application server.

Scripts

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.

Docker Details

Exposed ports

8080 : Web server

Volumes

website: var/lib/jetty/webapps/ROOT

Create Image

docker build -t spase-validate .

Run Container

  • 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

About

Stand alone SPASE metadata validator.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •