Docker Image for EarnApp
git clone https://github.com/fazalfarhan01/earnapp_docker.gitlatest- Built and updated dailyhourly-latest- Built and updated every hour at UTC 10th minute.lite- Use when you have problems with regular version. Note:liteversion cannot generate it's own UUID and the same has to be provided as an environment variable.
-
Make a directory for earnapp data
mkdir $HOME/earnapp-data
-
Run the container
docker run -d --privileged -v /sys/fs/cgroup:/sys/fs/cgroup:ro -v $HOME/earnapp-data:/etc/earnapp --name earnapp fazalfarhan01/earnapp
or if you are using the
liteversiondocker run -d -e EARNAPP_UUID='sdk-node-XXXXXXXXXXXXXXXXXXX' --name earnapp fazalfarhan01/earnapp:lite
-
Get the UUID
docker exec -it earnapp showid
-
Copy and paste the app
UUIDin the EarnApp Dashboard
- Make a new directory, create a file named
docker-compose.ymland paste the following into it.
version: '3.3'
services:
app:
image: fazalfarhan01/earnapp
privileged: true
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
- ./etc:/etc/earnappUse the lite version if you don't want to run the container priviledged or having any of the issues here.
version: '3.3'
services:
app:
image: fazalfarhan01/earnapp:lite
environment:
EARNAPP_UUID: YOUR_NODE_ID_HERE-
Run
docker-compose up -d -
You can access the earnapp cli using the command
docker-compose exec app earnapp <YOUR COMMAND GOES HERE>
Consider donating.
- BTC: 1PdUFXmVUxy88NRPJ2RFuhyjUqMiJyZybR
- ETH: 0x715810d3619b6831b3d4ff0465ec3523aceb20c6
- PayPal: @fazalfarhan01