Hi.
I have a Strange Problem. i Run a second node on a Different place. i Have it on a Synology NAS with Docker!
Anyway… on that node i am trying to change the Wallet adress.
So far so good. Is there A way to “read” out the active config? So i can just copy and paste the new wallet adress?
I opened the config.yaml with notepad++ but there are no Parameters in it…
Or do have to insert all the paths ecc… again?
bre
November 30, 2021, 8:39pm
2
Welcome to the forum @Kastlunger !
I’ve forwarded your question to the team for some answers.
Alexey
November 30, 2021, 8:46pm
3
You can use this command:
docker inspect storagenode -f '{{.Config.Env}}'
However, I would recommend to write your full docker run
command somewhere, to batch file for example, or use a docker-compose.yaml
:
For the ones looking for a docker-compose.yml file:
version: "3.3"
services:
<containername>:
image: storjlabs/storagenode:latest
container_name: <containername>
volumes:
- type: bind
source: <"/Path/to/identity/files">
target: /app/identity
- type: bind
source: <"/Path/to/Data/storage/location">
target: /app/config
ports:
- 28967:28967
- 14002:14002
restart: unless-stopped
stop_grace_period: 300s
environment…
But replace <containername>
with something like storagenode1
, <"/Path/to/identity/files">
and <"/Path/to/Data/storage/location">
to your actual paths and so on. The <
and >
should be removed too.
Thank you guys! My node is now running good with the new wallet. I saved my config now in my Storj data folder on my personal Cloud.
Alexey
November 30, 2021, 10:19pm
5
config.yaml
in case of docker version would be almost empty. All important parameters you provides in the docker run
command.