@4me/environment-server
Required variables
- B2B_CERT (required)
B2B Certificate file
Example:
B2B_CERT=b2b.cert
Optional variables
PORT
The port the web application will run on
Example:
PORT=4000
Default value:
3000
LOG_PRETTY
Enable/disable human readable logs. JSON logs will be produced otherwise.
Example:
LOG_PRETTY=1
Default value:
process.env.NODE_ENV === 'development'
LOG_LEVEL
Change the log level. Possible values are fatal, error, warn, info, debug or trace.
Example:
LOG_LEVEL=trace
Default value:
process.env.NODE_ENV === 'development' ? 'debug' : 'info'
B2B_CERT_FORMAT
Format of the B2B certificate file (pem or pfx)
Example:
B2B_CERT_FORMAT=pem
Default value:
pfx
B2B_CERT_KEY
Private key of the B2B certificate (required when pem format is used)
Example:
B2B_CERT_KEY=/my/path/private_key.pem
B2B_CERT_PASSPHRASE
B2B Certificate passphrase (required when pfx format is used)
Example:
B2B_CERT_PASSPHRASE=p4ssw0rd!
B2B_FLAVOUR
B2B Flavour (OPS or PREOPS)
Example:
B2B_FLAVOUR=PREOPS
Default value:
OPS
XSD_PATH
Where the B2B XSD/WSDL are/will be stored on the disk
Example:
XSD_PATH=/my/custom/path
Default value:
/tmp/b2b-xsd
DATA_DIRECTORY
AIXM Local data cache (please use a persistent docker volume)
Example:
DATA_DIRECTORY=./data
Default value:
./data
MAX_DATA_AGE_HOURS
Maximum AIXM data age before a refresh will occur
Example:
MAX_DATA_AGE_HOURS=24
Default value:
10 days