Skip to content

whatafunc/docker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker (17.12.1+) for Cortex cryptocurrency

Docker install

https://github.com/ucwong/docker

Docker image build and run

docker build -t ${image} .
docker run --rm -d -v /root/.cortex:/root/.cortex/ ${image}

Node boot config

vim conf.d/node.conf
[program:node]
user=root
directory=/work/bin
;command=/work/bin/cortex --rpc --rpcaddr 0.0.0.0 --viper
command=/work/bin/cortex --viper
autorestart=true
autostart=true
numprocs=1

redirect_stderr=true
stdout_logfile_backups=5
stdout_logfile=/root/.cortex/node.log

rpc cmd

  --rpc                   Enable the HTTP-RPC server
  --rpcaddr value         HTTP-RPC server listening interface (default: "localhost")
  --rpcport value         HTTP-RPC server listening port (default: 8545)
  --rpcapi value          API's offered over the HTTP-RPC interface

About

Docker for cortex full node to make it serve as an RPC for metamask

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 100.0%