Catapulte can be configured using CLI arguments or environment variables.
Those arguments/variables can be seen by running catapulte with --help
.
LOG
is the level of log used to trace the application, default toINFO
.HOST
is where the server will listen to, default to0.0.0.0
in container otherwiselocalhost
PORT
is the port on white the server will listen to, default to3000
TEMPLATE__TYPE
defines the type of provider used by this instance.local
is the only option for now.
When the provider local
is used
TEMPLATE__PATH
is the path where the templates will be loaded. In the container, the default is/templates
otherwise it's./templates
.
RENDER__KEEP_COMMENTS
is a flag defining if MRML should keep the comments.RENDER__SOCIAL_ICON_ORIGIN
is the base URL to load the social icons formj-social-element
. It's the default MRML value (https://www.mailjet.com/images/theme/v1/icons/ico-social/
).
SMTP__HOSTNAME
is the hostname of the SMTP server (defaultlocalhost
)SMTP__PORT
is the port of the SMTP server (default25
)SMTP__USERNAME
is the username used to authenticate with the SMTP serverSMTP__PASSWORD
is the password used to authenticate with the SMTP serverSMTP__MAX_POOL_SIZE
is the max number of connection to the SMTP server (default10
)SMTP__TLS_ENABLED
enables TLS secure connection to the SMTP server (defaultfalse
)SMTP__ACCEPT_INVALID_CERT
allow the smtp client to accept invalid certificates (defaultfalse
)