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
!123
docker: auto-generate node key file
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
docker: auto-generate node key file
pini-docker
into
master
Overview
48
Commits
6
Pipelines
2
Changes
6
Merged
pini
requested to merge
pini-docker
into
master
2 years ago
Overview
25
Commits
6
Pipelines
2
Changes
6
Expand
Improve docker-entrypoint to auto-generate the node key file when it doesn't exist.
Rename variable DUNITER_INSTANCE_NAME to DUNITER_NODE_NAME (the former is still accepted though)
Add optional variable DUNITER_PUBLIC_ADDR to configure the '--public-addr' duniter option
0
0
Merge request reports
Compare
master
version 13
b22e832b
2 years ago
version 12
c832d5ea
2 years ago
version 11
c832d5ea
2 years ago
version 10
0362d624
2 years ago
version 9
72e97149
2 years ago
version 8
236a4a4c
2 years ago
version 7
6fc86b06
2 years ago
version 6
be2bb122
2 years ago
version 5
6fd2bec1
2 years ago
version 4
67c3a704
2 years ago
version 3
a08bbf24
2 years ago
version 2
a1f803f4
2 years ago
version 1
dd8f10e3
2 years ago
master (base)
and
latest version
latest version
585d5807
6 commits,
2 years ago
version 13
b22e832b
6 commits,
2 years ago
version 12
c832d5ea
17 commits,
2 years ago
version 11
c832d5ea
12 commits,
2 years ago
version 10
0362d624
12 commits,
2 years ago
version 9
72e97149
12 commits,
2 years ago
version 8
236a4a4c
11 commits,
2 years ago
version 7
6fc86b06
10 commits,
2 years ago
version 6
be2bb122
8 commits,
2 years ago
version 5
6fd2bec1
7 commits,
2 years ago
version 4
67c3a704
6 commits,
2 years ago
version 3
a08bbf24
5 commits,
2 years ago
version 2
a1f803f4
4 commits,
2 years ago
version 1
dd8f10e3
3 commits,
2 years ago
6 files
+
127
−
29
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
6
Search (e.g. *.vue) (Ctrl+P)
docker/compose/gdev-mirror.docker-compose.yml
+
2
−
15
Options
# This is a docker template for running a gdev mirror
# You should write a .env file aside with the environment variables:
#
# --- .env ---
# SERVER_DOMAIN=gdev.example.com
# PEER_ID=1234XxxXXxxXxxxXxzbQqEkEpTPxD9S1PtpzkZSYoueyERA5vVtQ
# ------------
#
# The peer id has to be replaced withe the output of the following command
#
# >>> 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
# <<<<<<<<<<<<<<<
version
:
"
3.
4
"
version
:
"
3.
5
"
services
:
duniter-rpc
:
@@ -37,8 +25,7 @@ services:
-
"
/var/lib/duniter/node.key"
-
"
--public-addr"
# SERVER_DOMAIN should be replaced by a domain name that point on your server
# PEER_ID should be replaced by the output of the command given at the top of this file
-
"
/dns/${SERVER_DOMAIN?SERVER_DOMAIN
should
be
set}/tcp/30333/p2p/${PEER_ID?PEER_ID
should
be
set}"
-
"
/dns/${SERVER_DOMAIN?SERVER_DOMAIN
should
be
set}/tcp/30333/ws"
-
"
--rpc-cors"
-
"
all"
Loading