Merge pull request #8 from waku-org/feat/certs-dir-mount

feat: allow mounting custom certs dir
This commit is contained in:
Vaclav Pavlin 2024-01-10 17:03:21 +01:00 committed by GitHub
commit ab608330d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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