Skip to content

Commit

Permalink
add earnfm
Browse files Browse the repository at this point in the history
  • Loading branch information
OlivierGaland committed Nov 26, 2023
1 parent 311ab2d commit 747b615
Show file tree
Hide file tree
Showing 4 changed files with 55 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ PROXYLITE_USER_ID=<your user id>
# Don't forget to add this UUID in your dashboard (wait 5 minutes after starting container)
PROXYRACK_HOST_UUID=<your host uuid>

# Your EarnFm api key (to retrieve in your earnfm dashboard, section more)
EARNFM_APIKEY=<your earnfm api key>

# Internal environment (do not change)
_COMPOSE_PROJECT_NAME=cashfactory
_COMPOSE_PROJECT_STACK_ID=1
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ This won't cost you anything and motivate me to maintain this software by adding
- Supported [Register Proxylite](https://proxylite.ru/?r=S9LZAM24) : Russian app, payable with crypto for non russian citizens.
- Supported [Register Bitping](https://app.bitping.com?r=XLr65_of) : This tool only pay in crypto (BitcoinSV)
- Supported [Register Proxyrack](https://peer.proxyrack.com/ref/08e43xzp6ixdutkxgwsf1vytiqbpcinvt2fge2lc)
- Supported [Register EarnFm](https://earn.fm/ref/OLIVPSSY)

Start/stop procedure :

Expand Down
48 changes: 47 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,9 @@ services:
- Webserver
- Packetstream_PsClient
image: containrrr/watchtower
command: --cleanup --include-stopped --revive-stopped --interval 60 ${_COMPOSE_PROJECT_NAME}_Packetstream_PsClient_${_COMPOSE_PROJECT_STACK_ID}
command: --cleanup --include-stopped --revive-stopped --interval 60 --scope PacketStream ${_COMPOSE_PROJECT_NAME}_Packetstream_PsClient_${_COMPOSE_PROJECT_STACK_ID}
labels:
- com.centurylinklabs.watchtower.scope=PacketStream
volumes:
- /var/run/docker.sock:/var/run/docker.sock
restart: always
Expand Down Expand Up @@ -221,6 +223,50 @@ services:
#End of Proxyrack section


#Start of Cloudcollab section (remove if not wanted) => currently under evaluation by dev, seems not working well
# Cloudcollab:
# depends_on:
# - Portainer
# - Webserver
# image: cloudcollabapp/peer:latest
# restart: always
# networks:
# default:
# ipv4_address: 172.106.0.120
#End of Cloudcollab section

#Start of EarnFm section (remove this if EarnFm not wanted)
# variables to define in .env file :
# EARNFM_APIKEY : Your API key (available in earnfm dashboard -> more)
EarnFm_Client:
depends_on:
- Portainer
- Webserver
image: earnfm/earnfm-client:latest
restart: always
environment:
- EARNFM_TOKEN=$EARNFM_APIKEY
networks:
default:
ipv4_address: 172.106.0.130
EarnFm_Watchtower:
depends_on:
- Portainer
- Webserver
- EarnFm_Client
image: containrrr/watchtower
command: --cleanup --include-stopped --revive-stopped --interval 60 --scope EarnFm ${_COMPOSE_PROJECT_NAME}_EarnFm_Client_${_COMPOSE_PROJECT_STACK_ID}
labels:
- com.centurylinklabs.watchtower.scope=EarnFm
volumes:
- /var/run/docker.sock:/var/run/docker.sock
restart: always
networks:
default:
ipv4_address: 172.106.0.131
#End of EarnFm section


volumes:
portainer_data:
earnapp-data:
Expand Down
6 changes: 4 additions & 2 deletions www/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@
<tr><td><button type="button" onclick="window.open('https://app.bitping.com/earnings')">Bitping</button>
<button type="button" onclick="window.open('https://app.traffmonetizer.com/dashboard')">Traffmonetizer</button>
<button type="button" onclick="window.open('https://lk.proxylite.ru/index.php')">Proxylite</button></td></tr>
<tr><td><button type="button" onclick="window.open('https://peer.proxyrack.com/dashboard')">Proxyrack</button></td></tr>
<tr><td><button type="button" onclick="window.open('https://peer.proxyrack.com/dashboard')">Proxyrack</button>
<button type="button" onclick="window.open('https://app.earn.fm/')">EarnFm</button></td></tr>
</table>
</div>
<div id="Register" class="tabcontent">
Expand Down Expand Up @@ -77,7 +78,8 @@
<tr><td>Repocket</td><td>Yes</td><td>1</td><td>1</td><td>$0.2</td><td><button type="button" onclick="window.open('https://link.repocket.co/qtCj')">Register</button></td></tr>
<tr><td>Bitping</td><td>Yes</td><td>1</td><td>1</td><td>NA</td><td><button type="button" onclick="window.open('https://app.bitping.com?r=XLr65_of')">Register</button></td></tr>
<tr><td>Proxylite</td><td>Yes</td><td>1</td><td>1</td><td>?</td><td><button type="button" onclick="window.open('https://proxylite.ru/?r=S9LZAM24')">Register</button></td></tr>
<tr><td>Proxyrack</td><td>Not yet</td><td>2</td><td>1</td><td>$0.5</td><td><button type="button" onclick="window.open('https://peer.proxyrack.com/ref/08e43xzp6ixdutkxgwsf1vytiqbpcinvt2fge2lc')">Register</button></td></tr>
<tr><td>Proxyrack</td><td>Yes</td><td>2</td><td>1</td><td>$0.5</td><td><button type="button" onclick="window.open('https://peer.proxyrack.com/ref/08e43xzp6ixdutkxgwsf1vytiqbpcinvt2fge2lc')">Register</button></td></tr>
<tr><td>Earnfm</td><td>Yes</td><td>?</td><td>?</td><td>?</td><td><button type="button" onclick="window.open('https://earn.fm/ref/OLIVPSSY')">Register</button></td></tr>
</table>
<table class="table_text">
<tr><td>
Expand Down

0 comments on commit 747b615

Please sign in to comment.