Docker - phax/phoss-smp GitHub Wiki

Running as Docker image

phoss SMP can be run as a Docker image. Preconfigured images with the SMP application are available, depending on the backend you want to use:

A detailed guideline on using the Docker images and all the Dockerfiles used to create the images can be found at https://github.com/phax/peppol-smp-server/tree/master/docker

Health and readiness probes

When running phoss SMP in Kubernetes or a comparable orchestrator, use the two dedicated endpoints:

  • /ping as the liveness probe - it only checks that the process and the web application respond
  • /smp-ready as the readiness probe - it additionally checks that the configured backend can currently serve requests

See the Readiness API page for a complete probe example and for the reasoning behind the split.