This PR adds a few features to the nwaku-compose, which, I believe, makes it a bit more "production ready"
Enabling WSS by defining DOMAIN environment variable - it uses Let's Encrypt to obtain SSL certificates and stores them in a volume to make sure you don't hit the LE rate limits
You can define NODEKEY variable which then uses the value as a --nodekey option
You can define EXTRA_ARGS variable to override or add options in run_node.sh
Additional changes in the compose file:
Update to latest nwaku image
Openning ports 80 and 8000 for Let's Encrypt challenge and WSS
Tweaking the env var anchor for extendability
Making the compose work with podman-compose (adding missing Z options and changing the format of healthcheck command)
This PR adds a few features to the nwaku-compose, which, I believe, makes it a bit more "production ready"
DOMAIN
environment variable - it uses Let's Encrypt to obtain SSL certificates and stores them in a volume to make sure you don't hit the LE rate limitsNODEKEY
variable which then uses the value as a--nodekey
optionEXTRA_ARGS
variable to override or add options inrun_node.sh
Additional changes in the compose file: