-
Notifications
You must be signed in to change notification settings - Fork 35
Install from docker
ImplOfAnImpl edited this page Jan 21, 2025
·
5 revisions
This guide will cover how to use Docker to deploy and run the Mintlayer node-daemon and wallet-cli.
You need to have Docker installed on your system. For Docker installation guide, please visit official Docker documentation.
Below is a simplified docker-compose.yml configuration to deploy the node-daemon and wallet-cli services:
x-common-env: &common-env
RUST_LOG: "info"
ML_USER_ID: "1000"
ML_GROUP_ID: "1000"
services:
node-daemon:
image: "mintlayer/node-daemon:latest"
pull_policy: always
command: "node-daemon mainnet"
environment:
<<: *common-env
ML_MAINNET_NODE_RPC_BIND_ADDRESS: "0.0.0.0:3030"
ports:
- "3030:3030"
volumes:
- "./mintlayer-data:/home/mintlayer"
wallet-cli:
image: "mintlayer/wallet-cli:latest"
pull_policy: always
command: "wallet-cli mainnet"
depends_on:
- "node-daemon"
environment:
<<: *common-env
ML_MAINNET_WALLET_NODE_RPC_ADDRESS: node-daemon:3030
volumes:
- "./mintlayer-data:/home/mintlayer"
profiles:
- "wallet_cli"
- Save the above content as
docker-compose.ymlin your working directory. - Start the services:
docker compose up -d
To enter the Wallet-CLI container and interact with it in an interactive session:
docker compose run --rm wallet-cliThis command will open an interactive shell for the Wallet-CLI inside the container. Once inside, you can execute Wallet-CLI commands interactively to manage your wallet.
- The
./mintlayer-datavolume will store persistent data for all services. Ensure the directory exists and is writable by Docker.
- Home
- Installing Mintlayer
- Upgrade Mintlayer
- Node
- Addresses
- Wallet CLI
- Wallet RPC
- API
- Advanced Tools
- Guides
- CHANGELOG