Packet Delivery Portal application for i4Trust experimentation framework
Configuration is done in the file config/pdc-portal.yml
. You need to modify the values according to your
environment and add your private key and certificate chain.
Private key and certificate chain can be also provided as ENVs as given below. In this case, the values from
config/pdc-portal.yml
would be overwritten.
- Private key:
PORTAL_CLIENT_KEY
- Certificate chain:
PORTAL_CLIENT_CRT
Run locally using node.js
:
npm install
npm start
A Dockerfile is provided for building the image:
docker build -t pdc-portal:my-tag .
Make a copy of the configuration file config/pdc-portal.yml
and modify according to your environment.
Then run the image:
docker run --rm -it -p 7000:7000 -v <PATH_TO_FILE>/pdc-portal.yml:/home/portal/config/pdc-portal.yml pdc-portal:my-tag
A Helm chart is provided on GitHub and Artifacthub.
Enable debugging by setting the environment variable:
DEBUG="portal:*"