feat: allow mounting custom certs dir

This commit is contained in:
Václav Pavlín 2023-09-21 14:49:43 +02:00
parent 20f91f4242
commit 48a9065135
No known key found for this signature in database
GPG Key ID: B378FB31BB6D89A5
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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