/etc/hoststhat points to
~/Caddyfilein your home directory. Use the example below as a template but make sure to replace the name in the path to the certificates (
/home/jacob/certificates/...) with the name of your home dir.
demo.local.infomaker.iois hosted on your own machine and not online somewhere. We use the same domain name as in the
~/Caddyfileand add it to
~/Caddyfileand update the following parts:
demoto whatever name you want to use for your service
localhost:8888to match the port your application is bound to.
/etc/hoststhat matches the domain you added in
rootCA.pemfile inside docker, and use the
NODE_EXTRA_CA_CERTSto point the location inside docker.