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 script to setup Ontology private network #922

Open
Honglei-Cong opened this issue May 25, 2019 · 5 comments
Open

Docker script to setup Ontology private network #922

Honglei-Cong opened this issue May 25, 2019 · 5 comments
Assignees

Comments

@Honglei-Cong
Copy link
Member

From ontio/OEPs#4

==Abstract==

A docker image pre-configured with an Ontology multinode setup has been created to assist developers in testing and deploying applications/services in a local environment they can control.
Github repository: https://github.com/OntologyCommunityDevelopers/ontology-privatenet-docker

==Motivation==

Currently the Ontology testnet is the only pre-configured network available for developers. The process of setting up a privatenet is slow and by creating a docker image, this will reduce the timeframe for development teams to get access to a test environment. It also allows developers to keep their code and intellectual property off a public online testnet.

==Specification==

The docker image is based on a Ubuntu 16.04 build and has been pre-configured with the following:

4 nodes running v0.75
RPC, RESTful and Websocket ports configured for each node
Development ONT address containing 100 million ONT for testing

==Rationale==

The rational for the creation was to enable a quick and easy way for developers to setup their own privatenet. Docker was chosen over other virtualisation technologies (such as VMWare or VirtualBox) as it is platform independant (runs on Windows, Linux and Mac OS X) and the images are significantly smaller in size than VMWare or VirtualBox.

@Honglei-Cong
Copy link
Member Author

script for testmode private net

docker run -it -p 20334:20334 -p 20336:20336 -v `pwd`/wallet.dat:/var/ontology/wallet.dat  ontio/ontology --testmode --rest

@minsoo5403
Copy link

Community GitHub Page is 404 error.

@Honglei-Cong Honglei-Cong self-assigned this Jul 2, 2019
@Honglei-Cong
Copy link
Member Author

what' the url? @minsoo5403

@minsoo5403
Copy link

@Honglei-Cong
Copy link
Member Author

OntologyCommunityDevelopers seems been closed. :(

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

2 participants