Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Duniter v2S
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nodes
rust
Duniter v2S
Commits
d96731ff
Commit
d96731ff
authored
3 years ago
by
Éloïs
Browse files
Options
Downloads
Patches
Plain Diff
doc: document docker usage and add other compose file example
parent
8b1c2379
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+30
-0
30 additions, 0 deletions
README.md
docker/compose-examples/gdem-local2.docker-compose.yml
+61
-0
61 additions, 0 deletions
docker/compose-examples/gdem-local2.docker-compose.yml
with
91 additions
and
0 deletions
README.md
+
30
−
0
View file @
d96731ff
...
...
@@ -2,6 +2,36 @@
A rewriting of duniter based on
[
Substrate
](
https://www.substrate.io/
)
framework.
## Usage
### Docker
The easiest way to use duniter-v2s is to use the docker image.
#### Releases images
For the moment, duniter-v2s does not have a first release yet.
#### Test images
At each commit on master, an image with the tag
`debug-sha-********`
is published, where
`********`
corresponds to the first 8 hash characters of the commit.
Usage example:
```
docker
docker run -it -p9944:9944 --name duniter-v2s duniter/duniter-v2s:debug-sha-9bc16904 --dev --ws-external
```
### Docker compose
This repository contains a docker-compose file at the root of the repository, it is configured to
be able to launch a development node on the ğdev currency (single-node currency).
Other docker-compose files are suggested in the
`docker/compose-examples`
folder:
-
`gtest-local2.docker-compose.yml`
: Configured to launch 2 validators on ğdem currency.
## Setup
First, complete the
[
basic setup instructions
](
./docs/setup.md
)
.
...
...
This diff is collapsed.
Click to expand it.
docker/compose-examples/gdem-local2.docker-compose.yml
0 → 100644
+
61
−
0
View file @
d96731ff
version
:
"
3.5"
services
:
duniter-1
:
container_name
:
duniter-1
image
:
duniter/duniter-v2s:local
ports
:
# telemetry
-
"
127.0.0.1:9615:9615"
# rpc
-
"
127.0.0.1:9933:9933"
# rpc-ws
-
"
127.0.0.1:9944:9944"
# p2p
-
"
30333:30333"
environment
:
DUNITER_INSTANCE_NAME
:
"
my_instance"
DUNITER_CHAIN_NAME
:
"
local"
#DUNITER_DISABLE_PROMETHEUS: "false"
command
:
[
"
--alice"
,
"
--node-key"
,
"
0000000000000000000000000000000000000000000000000000000000000001"
]
volumes
:
-
data:/var/lib/lc-core
networks
:
app_net
:
ipv4_address
:
172.16.238.10
duniter-2
:
container_name
:
duniter-2
image
:
duniter/duniter-v2s:local
ports
:
# telemetry
-
"
127.0.0.1:9616:9615"
# rpc
-
"
127.0.0.1:9934:9933"
# rpc-ws
-
"
127.0.0.1:9945:9944"
# p2p
-
"
30334:30333"
environment
:
DUNITER_INSTANCE_NAME
:
"
my_instance"
DUNITER_CHAIN_NAME
:
"
local"
#DUNITER_DISABLE_PROMETHEUS: "false"
command
:
[
"
--bob"
,
"
--bootnodes"
,
"
/ip4/172.16.238.10/tcp/30333/p2p/12D3KooWEyoppNCUx8Yx66oV9fJnriXwCcXwDDUA2kj6vnc6iDEp"
]
volumes
:
-
data2:/var/lib/lc-core
networks
:
app_net
:
ipv4_address
:
172.16.238.11
volumes
:
data
:
data2
:
networks
:
app_net
:
driver
:
bridge
ipam
:
driver
:
default
config
:
-
subnet
:
172.16.238.0/24
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment