Docker container for running a Raptoreum node.
Build the Docker image:
docker build -t raptoreum-node .
Replace <your_IP>
with your external IP address and run:
docker run \
-d \
-p 10225:10225 \
-p 10226:10226 \
--name raptoreum_node \
-e RPC_USER=<your_rpc_user> \
-e RPC_PASSWORD=<your_rpc_password> \
-e EXTERNALIP=<your_IP> \
-v raptoreum:/raptoreum \
--restart=unless-stopped \
raptoreum_node
RPC_USER
: RPC usernameRPC_PASSWORD
: RPC passwordTESTNET
: Set to1
for testnet,0
for mainnetEXTERNALIP
: Your external IP addressFORCE_BOOTSTRAP
: Set to1
to force bootstrapRPC_ALLOW_IP
: Allow RPC from IP address