From 48a90651351da659998c12cd1f2ec0b0303c818e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20Pavl=C3=ADn?= Date: Thu, 21 Sep 2023 14:49:43 +0200 Subject: [PATCH] feat: allow mounting custom certs dir --- ADVANCED.md | 1 + docker-compose.yml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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