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
Merge requests
!122
Documentation in readme
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Documentation in readme
hugo-documentation
into
master
Overview
3
Commits
18
Pipelines
12
Changes
20
All threads resolved!
Hide all comments
Merged
Hugo Trentesaux
requested to merge
hugo-documentation
into
master
2 years ago
Overview
3
Commits
18
Pipelines
12
Changes
20
All threads resolved!
Hide all comments
Expand
Document pallets and folders.
some inline TODO still to complete
0
0
Merge request reports
Compare
master
version 6
5d451d2d
2 years ago
version 5
ef535b8b
2 years ago
version 4
ef535b8b
2 years ago
version 3
e9b78cca
2 years ago
version 2
97d75b1b
2 years ago
version 1
559f8736
2 years ago
master (base)
and
version 1
latest version
bf817938
18 commits,
2 years ago
version 6
5d451d2d
18 commits,
2 years ago
version 5
ef535b8b
17 commits,
2 years ago
version 4
ef535b8b
17 commits,
2 years ago
version 3
e9b78cca
17 commits,
2 years ago
version 2
97d75b1b
17 commits,
2 years ago
version 1
559f8736
16 commits,
2 years ago
20 files
+
205
−
23
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
20
Search (e.g. *.vue) (Ctrl+P)
docker/compose/gdev-validator.docker-compose.yml
+
38
−
21
Options
# This is a docker template for running a gdev mirror and smith
# You should write a .env file aside with the environment variables:
#
# --- .env ---
# SERVER_DOMAIN=gdev.example.com
# PEER_ID=12D3KooWL7J8B2pUfgH2xhm8kpB88CiSNsSNHcWJJ6NdNffSg5ty
# VALIDATOR_PEER_ID=12D3KooWNyFo34PSHcg4cNd3d3MRs3dm1w3hQqo3QuFptd3DXW6H
# ------------
#
# The peer id has to be replaced withe the output of the following command
#
# Generate node.key and peer id
# >>> PEER_ID >>>
# docker run --rm -it --entrypoint duniter -v $PWD:/var/lib/duniter/ duniter/duniter-v2s:v0.4.0 key generate-node-key --file /var/lib/duniter/node.key
# >>> VALIDATOR_PEER_ID >>>
# docker run --rm -it --entrypoint duniter -v $PWD:/var/lib/duniter/ duniter/duniter-v2s:v0.4.0 key generate-node-key --file /var/lib/duniter/node.key
# <<<<<<<<<<<<<<<
#
# Please replace YOUR-NAME in the command line arguments
#
version
:
"
3.4"
services
:
# ===== RPC =====
duniter-rpc
:
image
:
duniter/duniter-v2s:v0.4.0
restart
:
unless-stopped
ports
:
# telemetry
-
127.0.0.1:
9615:9615
-
9615:9615
# rpc
-
127.0.0.1:
9933:9933
-
9933:9933
# rpc-ws
-
127.0.0.1:
9944:9944
-
9944:9944
# p2p
-
30333:30333
volumes
:
-
./node.key:/etc/duniter/validator-node.key
-
duniter-rpc-data:/var/lib/duniter/
-
./duniter-rpc/:/var/lib/duniter/
environment
:
-
DUNITER_CHAIN_NAME=gdev
command
:
-
"
--node-key-file=/var/lib/duniter/node.key"
-
"
--public-addr"
# SERVER_DOMAIN should be replaced by a domain name that point on your server
#
# The PEER_ID should be replaced by the output of this command:
# docker run --rm -it --entrypoint -v $PWD/duniter-rpc/:/var/lib/duniter/ duniter duniter/duniter-v2s:v0.4.0 key generate-node-key --file /var/lib/duniter/node.key
-
"
/dns/${SERVER_DOMAIN?SERVER_DOMAIN
should
be
set}/tcp/30333/p2p/${PEER_ID?PEER_ID
should
be
set}"
-
"
--rpc-cors=all"
-
"
--pruning=14400"
-
"
--name"
-
"
YOUR-NAME-rpc"
# ===== VALIDATOR =====
duniter-validator
:
image
:
duniter/duniter-v2s:v0.4.0
restart
:
unless-stopped
ports
:
# telemetry
-
127.0.0.1:
9616:9615
-
9616:9615
# rpc
-
127.0.0.1:
9934:9933
-
9934:9933
# rpc-ws
-
127.0.0.1:
9945:9944
-
9945:9944
# p2p
-
30334:30333
volumes
:
-
./node.key:/etc/duniter/validator-node.key
-
duniter-validator-data:/var/lib/duniter/
-
./duniter-validator/:/var/lib/duniter/
environment
:
-
DUNITER_CHAIN_NAME=gdev
command
:
-
"
--node-key-file=/var/lib/duniter/node.key"
-
"
--public-addr"
-
"
--pruning=14400"
# SERVER_DOMAIN should be replaced by a domain name that point on your server
#
# The VALIDATOR_PEER_ID should be replaced by the output of this command:
# docker run --rm -it --entrypoint -v $PWD/duniter-rpc/:/var/lib/duniter/ duniter duniter/duniter-v2s:v0.4.0 key generate-node-key --file /var/lib/duniter/node.key
-
"
/dns/${SERVER_DOMAIN?SERVER_DOMAIN
should
be
set}/tcp/30333/p2p/${VALIDATOR_PEER_ID?VALIDATOR_PEER_ID
should
be
set}"
-
"
--rpc-cors=all"
-
"
--rpc-methods=Unsafe"
-
"
--validator"
-
"
--pruning=14400"
-
"
--name"
-
"
YOUR-NAME-validator"
\ No newline at end of file
Loading