Skip to content

Commit

Permalink
First commit
Browse files Browse the repository at this point in the history
  • Loading branch information
jf-m committed Jan 17, 2023
1 parent 2b2539f commit bbb979d
Show file tree
Hide file tree
Showing 3 changed files with 380 additions and 1 deletion.
270 changes: 269 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,270 @@
# earning-machine
Docker stack that runs the most profitable passive-income apps in one single docker-compose file

Docker stack that runs the most profitable passive-income apps in one single docker-compose file.

With this project, you can start earning money doing nothing through a curated list of passive income applications.
You can use this project on any device that supports docker. This includes : Raspberry Pi, Synology NAS, a VPS, Windows, MacOS, Linux...

# Table of content

- [Requirements](#1-requirements)
+ [Docker](#docker)
+ [Docker-Compose](#docker-compose)
- [Installation](#2-installation)
- [Configuration](#3-configuration)
+ [Peer2Profit](#-peer2profit)
+ [PacketStream](#-packetstream)
+ [HoneyGain](#-honeygain)
+ [EarnApp](#-earnapp)
+ [Repocket](#-repocket)
+ [TraffMonetizer](#-traffmonetizer)
+ [Pawns](#-pawns)
+ [Bitping](#-bitping)
- [Running the stack](#4-running-the-stack)
- [Support](#5-support)

-------------
# 1. Requirements

This project uses Docker and Docker-Compose **only** (no third party app installed on the host).


## Docker

Follow the steps to install Docker if you don't have it already.

The steps can be found here: https://docs.docker.com/get-docker/

For your convenience, here are the steps to install Docker on a Debian/Raspbian OS :

```
sudo apt-get update && sudo apt-get upgrade
curl -fsSL test.docker.com -o get-docker.sh && sh get-docker.sh
sudo usermod -aG docker docker_user
sudo usermod -aG docker ${USER}
groups ${USER}
sudo systemctl enable docker
sudo reboot
```

## Docker-Compose

Follow the steps to install Docker-Compose if you don't have it already.

The steps can be found here: https://docs.docker.com/compose/install/
For your convenience, here are the steps to install Docker-Compose on a Debian/Raspbian OS :

```
sudo apt-get install libffi-dev libssl-dev
sudo apt install python3-dev
sudo apt-get install -y python3 python3-pip
sudo pip3 install docker-compose
```

-------------
# 2. Installation

Clone this repository

The following command will create a folder `earning-machine` and clone the repository inside it.

```
git clone https://github.com/jf-m/earning-machine.git earning-machine
cd earning-machine
```

-------------
# 3. Configuration

The following steps will guide you through the account creation and the configuration of the [`docker-compose.yml`](docker-compose.yml) file for each passive income application.

These apps won't use much RAM/CPU, but should you need to narrow down these apps to the best ones only, each app is ranked using the following emojis:

- 🟩 High yield earnings
- 🟧 Medium yield earnings
- 🟫 Low yield earnings
- 🟥 Very low yield earnings

Feel free to remove the apps you do not want by simply commenting the relevant configuration part in the [`docker-compose.yml`](docker-compose.yml).

Please note that this rank is based on my experience using those apps in the UK (the earnings depends mostly on your location but also internet speed and other factors).
If you do not live in the UK, I recommend that you try them out first and review the earnings after a few weeks.

## 🟩 Peer2Profit

### Account creation

Create your account on the following website

[https://p2pr.me](https://p2pr.me/1669297549637f758d3c27b "https://p2pr.me")

### Update the docker-compose

In the [`docker-compose.yml`](docker-compose.yml), edit :

| Variable | Description |
| --------- | -----|
| `YOUR_PEER2PROFIT_EMAIL_ADDRESS` | Peer2Profit account address |


## 🟩 PacketStream

### Account creation

Create your account on the following website

[https://packetstream.io](https://packetstream.io/?psr=4XCY "https://packetstream.io")

### Update the docker-compose

In the [`docker-compose.yml`](docker-compose.yml), edit :

| Variable | Description |
| --------- | -----|
| `YOUR_PACKETSTREAM_CID` | PacketStream referral ID (4 characters), which can be found in your referral link, the last 4 characters https://packetstream.io/dashboard/referrals |

Note that if you changed the name of the folder in which the [`docker-compose.yml`](docker-compose.yml) is located (by default `earning-machine`, see section [1. Installation](#installation)), then edit the following:

| Variable | Description |
| --------- | -----|
| `earning-machine_psclient_1` | Change this variable to `NAME_OF_FOLDER` followed by `_psclient_1` (remove any spaces that might be in the name of your folder) |


## 🟩 HoneyGain

### Account creation

Create your account on the following website

[https://r.honeygain.me](https://r.honeygain.me/JFMEI0ED48 "https://r.honeygain.me")

### Update the docker-compose

In the [`docker-compose.yml`](docker-compose.yml), edit :

| Variable | Description |
| --------- | -----|
| `YOUR_HONEYGAIN_EMAIL_ADDRESS` | HoneyGain account address |
| `YOUR_USER_HONEYGAIN_PASSWORD` | HoneyGain account password |


## 🟧 EarnApp

### Account creation

Create your account on the following website

[https://earnapp.com](https://earnapp.com/i/xt5f3gs "https://earnapp.com")

### Generate your Node id

Execute the following command :

```
docker run --privileged --rm -v /sys/fs/cgroup:/sys/fs/cgroup:ro --name earnapp fazalfarhan01/earnapp:lite /bin/bash -c "apt-get update && apt install -y systemctl && /download/earnapp install && cat /etc/earnapp/uuid"
```

This command will generate and output a node id with the following pattern :
`sdk-node-xxxxxxxxxxxxxxxxxxxx`.

### Link your node id

Link your newly created node id to your account by following the steps here:

(Replace `YOUR_NODE_ID` with your node id)

https://earnapp.com/r/YOUR_NODE_ID

### Update the docker-compose

In the [`docker-compose.yml`](docker-compose.yml), edit :

| Variable | Description |
| --------- | -----|
| `YOUR_EARNAPP_NODE_ID` | EarnApp Node Id |


## 🟫 Repocket

### Account creation

Create your account on the following website

[https://link.repocket.co](https://link.repocket.co/JmtW "https://link.repocket.co")

### Update the docker-compose

In the [`docker-compose.yml`](docker-compose.yml), edit :

| Variable | Description |
| --------- | -----|
| `YOUR_REPOCKET_EMAIL_ADDRESS` | Repocket account address |
| `YOUR_REPOCKET_USER_PASSWORD` | Repocket account password |


## 🟫 TraffMonetizer

### Account creation

Create your account on the following website

[https://traffmonetizer.com](https://traffmonetizer.com/?aff=809605 "https://traffmonetizer.com")

### Update the docker-compose

In the [`docker-compose.yml`](docker-compose.yml), edit :

| Variable | Description |
| --------- | -----|
| `YOUR_TRAFFMONETIZER_TOKEN` | TraffMonetizer token that can be found in the dashboard (https://app.traffmonetizer.com/dashboard) on the top left corner "Your application token" |


## 🟫 Pawns

### Account creation

Create your account on the following website

[https://pawns.app](https://pawns.app?r=1055724 "https://pawns.app")

### Update the docker-compose

In the [`docker-compose.yml`](docker-compose.yml), edit :

| Variable | Description |
| --------- | -----|
| `YOUR_PAWNS_EMAIL_ADDRESS` | Pawns account address |
| `YOUR_PAWNS_USER_PASSWORD` | Pawns account password |


## 🟥 Bitping

### Account creation

Create your account on the following website

[https://app.bitping.com](https://app.bitping.com?r=t0MNBbDe "https://app.bitping.com")

### Generate configuration file

Execute the following command and follow the BitPing steps (enter your BitPing credentials) to generate a configuration file

`sudo docker run -it -v $(pwd)/data/bitping/:/root/.bitping bitping/bitping-node:latest`

When `Successfully logged in to Bitping` is displayed, you can safely kill the container with `CTRL+C` or `CMD+C`.

-------------
# 4. Running the stack

To run the stack and start earning money, execute the following command in this project directory:

`docker-compose up -d`

-------------
# 5. Support

If you like this project, use the referral links provided on this README.md file to support it.

Alternatively, consider donating.

BTC: `bc1qpc022g22v36axp320nzdm962prnhue7jve05l8`
2 changes: 2 additions & 0 deletions data/bitping/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*
!.gitignore
109 changes: 109 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
version: '3.5'

services:

#EarnApp Configuration
earnapp:
image: fazalfarhan01/earnapp:lite
restart: always
environment:
- EARNAPP_UUID=YOUR_EARNAPP_NODE_ID
networks:
default:
ipv4_address: 172.106.0.10
#end of EarnApp Configuration

#HoneyGain Configuration
honeygain:
image: honeygain/honeygain
command: -tou-accept -email 'YOUR_HONEYGAIN_EMAIL_ADDRESS' -pass 'YOUR_USER_HONEYGAIN_PASSWORD' -device EarningMachine
restart: always
networks:
default:
ipv4_address: 172.106.0.20
#end of HoneyGain Configuration

#Peer2Profit Configuration
peer2profit:
image: peer2profit/peer2profit_x86_64:latest
restart: always
environment:
- P2P_EMAIL='YOUR_PEER2PROFIT_EMAIL_ADDRESS
networks:
default:
ipv4_address: 172.106.0.30
#end of Peer2Profit Configuration

#PacketStream Configuration
psclient:
image: packetstream/psclient:latest
restart: always
environment:
- CID=YOUR_PACKETSTREAM_CID
networks:
default:
ipv4_address: 172.106.0.40

pswatchtower:
depends_on:
- psclient
image: containrrr/watchtower
command: --cleanup --include-stopped --revive-stopped --interval 60 earning-machine_psclient_1
volumes:
- /var/run/docker.sock:/var/run/docker.sock
restart: always
networks:
default:
ipv4_address: 172.106.0.41
#end of PacketStream Configuration

#Pawns Configuration
pawns:
image: iproyal/pawns-cli:latest
command: -email='YOUR_PAWNS_EMAIL_ADDRESS' -password='YOUR_PAWNS_USER_PASSWORD' -device-name=EarningMachine -accept-tos
restart: always
networks:
default:
ipv4_address: 172.106.0.50
#end of Pawns Configuration

#Bitping Configuration
bitping:
image: bitping/bitping-node:latest
restart: always
volumes:
- ./data/bitping:/root/.bitping
networks:
default:
ipv4_address: 172.106.0.60
#end of Bitping Configuration

#TraffMonetizer Configuration
traffmonetizer:
image: traffmonetizer/cli:latest
restart: always
command: start accept --token YOUR_TRAFFMONETIZER_TOKEN
networks:
default:
ipv4_address: 172.106.0.70
#end of TraffMonetizer Configuration

#Repocket Configuration
repocket:
image: repocket/repocket:latest
restart: always
environment:
- RP_EMAIL=YOUR_REPOCKET_EMAIL_ADDRESS
- RP_PASSWORD=YOUR_REPOCKET_USER_PASSWORD
networks:
default:
ipv4_address: 172.106.0.80
#end of Repocket Configuration

networks:
default:
driver: bridge
ipam:
driver: default
config:
- subnet: 172.106.0.0/16

0 comments on commit bbb979d

Please sign in to comment.