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

Docker env variable java_api_listen_address=0.0.0.0 only modifies mainnet.toml but not mastery.toml #29

Open
aqt01 opened this issue Jun 20, 2019 · 0 comments

Comments

@aqt01
Copy link

aqt01 commented Jun 20, 2019

os & version: ubuntu 16.04
branch: Latest tag


While passing java_api_listen_address=0.0.0.0 when running aionr docker container with Latest tag:

$ docker run --entrypoint /bin/bash -e java_api_listen_address=0.0.0.0 -it aionnetwork/aionr:Latest

the env variable modifies the http interface to 0.0.0.0 on mainnet.toml only but not for mastery.toml

You can verify that by doing inside the docker container:

$ cat mainnet/mainnet.toml

[aion]
chain = "mainnet/mainnet.json"

[network]
sync_from_boot_nodes_only = false
max_peers = 64
net_id = 256
local_node = "p2p://[email protected]:30303"
boot_nodes = [
"p2p://[email protected]:30303",
"p2p://[email protected]:30303",
"p2p://[email protected]:30303",
"p2p://[email protected]:30303",
"p2p://[email protected]:30303",
"p2p://[email protected]:30303",
"p2p://[email protected]:30303"
]
ip_black_list = []

[http]
port = 8545
interface = "0.0.0.0"


[stratum]
port = 8008
interface = "0.0.0.0"

$ cat mastery/mastery.toml

[aion]
chain = "mastery/mastery.json"

[network]
max_peers = 32
net_id = 32
local_node = "p2p://[email protected]:30303"
boot_nodes = [
"p2p://[email protected]:30303",
"p2p://[email protected]:30303",
"p2p://[email protected]:30303",
"p2p://[email protected]:30303"
]

ip_black_list = []

[websockets]
disable = false

[http]
disable = false
port = 8545

[ipc]
disable = false

[stratum]
port = 8008
interface = "0.0.0.0"

[mining]
author = "0xa08fc457b39b03c30dc71bdb89a4d0409dd4fa42f6539a5c3ee4054af9b71f23"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant