LogoLogo
  • Home
  • Come eseguire PnValidator
  • Casi d'uso disponibili
Powered by GitBook
On this page

Come eseguire PnValidator

Last updated 2 years ago

Esecuzione come container Docker

Per eseguire il validator tramite :

  • Scarica l'immagine più recente con il seguente comando:

docker pull ghcr.io/pagopa/pn-local-emulator:latest
  • Fai partire il container

docker run -p 3000:3000 ghcr.io/pagopa/pn-local-emulator:latest

Puoi cambiare la porta cambiando il valore del parametro -p.

Per verificare il corretto funzionamento prova ad invocare l'endpoint che restituisce il report:

# the port and the hostname depend on how you started the PnValidator system
curl --location --request GET 'http://localhost:3000/checklistresult'
Docker