fix: use absolute path for the volumes names

- mark volumes shared across containers
This commit is contained in:
Roman 2024-02-01 15:08:19 +08:00
parent 59d2252ffc
commit 4cf303cdf6
No known key found for this signature in database
GPG Key ID: B8FE070B54E11B75

View File

@ -78,7 +78,7 @@ class WakuNode:
default_args[key] = value
if len(default_args["rln-creds"]) == 4:
self._volumes.extend(["./rln_tree:/etc/rln_tree/:Z", "./keystore/keystore.json:/keystore/keystore.json/:Z"])
self._volumes.extend(["/rln_tree:/etc/rln_tree/:z", "/keystore/keystore.json:/keystore/keystore.json/:z"])
rln_opts = {}
if self.is_gowaku():
rln_opts = {