@@ -8,7 +8,6 @@ the following shell command to start the node.
88``` sh
99docker run \
1010 --detach \
11- --ulimit " nofile=65536:65536" \
1211 --publish 443:443 \
1312 --name chainweb-node \
1413 larsk/chainweb-node:latest
@@ -24,10 +23,9 @@ provided the Chainweb node in the environment.
2423``` sh
2524docker run \
2625 --detach \
27- --ulimit " nofile=65536:65536" \
28- --env " CHAINWEB_PORT=1789" \
2926 --publish 1789:1789 \
3027 --name chainweb-node \
28+ --env " CHAINWEB_PORT=1789" \
3129 larsk/chainweb-node:latest
3230```
3331
@@ -68,9 +66,8 @@ follows:
6866
6967``` sh
7068docker run \
71- --ulimit " nofile=65536:65536" \
72- --publish 443:443 \
7369 --detach \
70+ --publish 443:443 \
7471 --name chainweb-node \
7572 chainweb-node-with-db \
7673 /chainweb/run-chainweb-node.sh
@@ -94,12 +91,11 @@ docker run -ti --rm \
9491
9592# 2. Use the database volume with a Chainweb node
9693docker run \
97- --ulimit " nofile=65536:65536 " \
94+ --detach \
9895 --publish 443:443 \
99- --mount type=volume,source=chainweb-db,target=/root/.local/share/chainweb-node/mainnet01/0/ \
10096 --name chainweb-node \
101- --detach \
102- larsk/chainweb-node:latest \
97+ --mount type=volume,source=chainweb-db,target=/root/.local/share/chainweb-node/mainnet01/0/ \
98+ larsk/chainweb-node:latest
10399```
104100
105101Alternatively a bind mount can be used to persist the database in the file
@@ -121,9 +117,10 @@ TODO
121117* ` /chainweb/initialize-db.sh `
122118* ` /chainweb/check-reachability.sh `
123119
124- ### Database Directory Path:
120+ ### File System
125121
126- * ` /root/.local/share/chainweb-node/mainnet01/0 `
122+ * Database directory: ` /root/.local/share/chainweb-node/mainnet01/0 `
123+ * Chainweb configuration file: ` /chainweb/chainweb.yaml `
127124
128125### Available Configuration Options
129126
@@ -150,13 +147,12 @@ Here is an example for how to use these settings:
150147
151148``` sh
152149docker run \
150+ --detach \
151+ --publish 1789:1789 \
152+ --name chainweb-node \
153153 --env " CHAINWEB_PORT=1789" \
154154 --env " CHAINWEB_BOOTSTRAP_NODE=fr2.chainweb.com" \
155155 --env " LOGLEVEL=warn" \
156- --ulimit " nofile=65536:65536" \
157- --name chainweb-node \
158- --publish 1789:1789 \
159- --detach \
160156 chainweb-node-with-db
161157```
162158
0 commit comments