This repository contains the Docker setup for running a FairCoin node. FairCoin is a cryptocurrency that focuses on fairness and sustainability.
- Docker
- Docker Compose (optional, for managing multi-container Docker applications)
git clone https://github.com/FairCoinOfficial/FAIRNode.git
cd FAIRNode
docker build -t faircoin-node .
Create a configuration file for the FairCoin node with the necessary RPC credentials and settings:
mkdir -p ~/.faircoin
echo "rpcuser=faircoinrpc" > ~/.faircoin/faircoin.conf
echo "rpcpassword=your_secure_password" >> ~/.faircoin/faircoin.conf
echo "server=1" >> ~/.faircoin/faircoin.conf
Replace your_secure_password
with a strong, unique password.
docker run -d -p 40404:40404 -v ~/.faircoin:/root/.faircoin --name faircoin-node faircoin-node
This command will run the FairCoin node in a Docker container with the necessary ports exposed and configuration mounted.
You can verify that the node is running by checking the container logs:
docker logs -f faircoin-node
The configuration file faircoin.conf
should be located in the ~/.faircoin
directory. You can customize this file with additional settings as needed. The default configuration includes:
rpcuser=faircoinrpc
rpcpassword=your_secure_password
server=1
If you encounter any issues, please check the logs of the Docker container:
docker logs faircoin-node
Contributions are welcome! Please open an issue or submit a pull request with any improvements or fixes.
This project is licensed under the MIT License. See the LICENSE file for details.
- FairCoin Official Repository
- Docker