diff --git a/ADVANCED.md b/ADVANCED.md index fc94598..71e8e68 100644 --- a/ADVANCED.md +++ b/ADVANCED.md @@ -14,6 +14,7 @@ There are multiple environment variables you can configure to modify behaviour o * `RLN_RELAY_CRED_PATH` - path for peristing rln-relay credential * `RLN_RELAY_CRED_PASSWORD` - password for encrypting RLN credentials * `EXTRA_ARGS` - this variable allows you to specify additional or overriding CLI option for the Waku node which will be appended to the `wakunode2` command. (e.g. `EXTRA_ARGS="--store=false --max-connections=3000`) +* `CERTS_DIR` - allows you to define a path where SSL certificates are/will be stored. It needs to follow the directory structure produced by Certbot in `/etc/letsencrypt` ## Log monitoring and troubleshooting diff --git a/docker-compose.yml b/docker-compose.yml index 1a5c8c5..f4e3e3b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -55,7 +55,7 @@ services: - *rln_env volumes: - ./run_node.sh:/opt/run_node.sh:Z - - ./certs:/etc/letsencrypt/:Z + - ${CERTS_DIR:-./certs}:/etc/letsencrypt/:Z - ./rln_tree:/etc/rln_tree/:Z - ./keystore/keystore.json:/keystore/keystore.json/:Z entrypoint: sh