Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: Is this Docker configuration correct? #2578

Open
marek22k opened this issue Mar 9, 2022 · 5 comments
Open

Question: Is this Docker configuration correct? #2578

marek22k opened this issue Mar 9, 2022 · 5 comments

Comments

@marek22k
Copy link

marek22k commented Mar 9, 2022

Hello,

While this is probably not the right place to ask, I keep getting directed to Discord. Due to Discord's proprietary nature, I try to avoid it. That's why I'm asking here.

I want to run a status node on my VPS with docker. Is the following Docker command suitable for this?
docker run -p 8545:8545 -p 30303:30303 -v $(pwd)/config.json:/config.json -v $(pwd)/statusd:/root/.statusd statusteam/status-go:0.55.1 -register -log DEBUG -c /config.json -mailserver -network-id 1

config.json:

{
    "AdvertiseAddr": "<ip address of vps>",
    "ListenAddr": "0.0.0.0:30303",
    "HTTPEnabled": true,
    "HTTPHost": "127.0.0.1",
    "HTTPPort": 8545,
    "APIModules": "eth,net,web3,admin,mailserver",
    "RegisterTopics": ["whispermail"],
    "WakuConfig": {
        "Enabled": true,
        "EnableMailServer": true,
        "DataDir": "/var/tmp/statusd/waku",
        "MailServerPassword": "status-offline-inbox",
        "MailServerDataRetention": 30
    }
}

Is this configuration suitable?
Furthermore, I wanted to ask how to run a node on IPv6 and IPv4. Is there only one field for the IP address in the config file?

@marek22k
Copy link
Author

marek22k commented Nov 6, 2023

@cammellos Hi, why did you close the issue?

@cammellos
Copy link
Contributor

Sorry @marek22k we are doing some much needed cleanup, apologies.
To answer your question, it looks like configuration is ok, that's though the config for waku1, which are currently not using anymore and we'll be removing from the codebase at some point.
We use Wakuv2 now, which has a slightly different configuration, I am not 100% about ipv6 support, but it should in theory work, @jakubgs might have the answer

@cammellos cammellos reopened this Nov 6, 2023
@marek22k
Copy link
Author

marek22k commented Nov 6, 2023

Thanks for the answer!
That also answers my question about which protocol Status is currently using, which I asked at #3208.
IPv6 support did not work in Status App the last time I tried it (see #3209).

@cammellos
Copy link
Contributor

@marek22k for ipv6, I believe that's the old format that we use for waku1, waku2 format iit's using libp2p multiaddr, which supports ipv6 in its scheme, though whether we actually support it is a different question :)

@jakubgs
Copy link
Member

jakubgs commented Nov 7, 2023

I've never configured status-go nodes with ipv6 so I have no idea. But the config looks good.

A good starting point is always: https://github.com/status-im/status-go/blob/develop/_assets/scripts/gen_config.sh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants