Skip to content

Commit

Permalink
new version of proxyrack
Browse files Browse the repository at this point in the history
  • Loading branch information
OlivierGaland committed Nov 6, 2023
1 parent f7586d0 commit 311ab2d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
5 changes: 3 additions & 2 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,9 @@ RP_API_KEY='<your api key>'
# Your Proxylite USER ID (to retrieve in your proxylite dashboard)
PROXYLITE_USER_ID=<your user id>

# Your Proxyrack API KEY (to retrieve in your proxyrack dashboard -> profile (use generate if not existing))
PROXYRACK_API_KEY=<your api key>
# Your Proxyrack UUID (random string : use for instance : cat /dev/urandom | LC_ALL=C tr -dc 'A-F0-9' | dd bs=1 count=64 2>/dev/null )
# Don't forget to add this UUID in your dashboard (wait 5 minutes after starting container)
PROXYRACK_HOST_UUID=<your host uuid>

# Internal environment (do not change)
_COMPOSE_PROJECT_NAME=cashfactory
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ Installation (you can open www/index.html file to have a more interactive instal
- Special procedure for Earnapp : you will need to add your device in the dashboard, to get the id use Portainer to open "exec console" on the Earnapp container (or through ssh enter: docker exec -it cashfactory_Earnapp_1 sh) and type : earnapp showid, to add the device you need to enter this link in your browser https://earnapp.com/r/your-id replacing "your-id" with the id you found earlier with show-id.
- Special procedure for Peer2profit : registration is done using a telegram bot (you need to install telegram application)
- Special procedure for Bitping : you will need to enter manually credential to initialize (TODO : easiest way ?), in $HOME/CashFactory type : sudo docker run -it -v $HOME/CashFactory/data/bitping/:/root/.bitping bitping/bitping-node:latest , then enter your credential , once this is done CTL-C to end container
- special procedure for Proxyrack : you will need to add your device uuid (see .env how to generate it) in the dashboard (dashboard -> devices -> add device)

Registering section and supported cash earning apps :

Expand Down
5 changes: 2 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -206,16 +206,15 @@ services:

#Start of Proxyrack section (remove this if Proxyrack not wanted)
# variables to define in .env file :
# PROXYRACK_API_KEY : Your application api key (available in proxyrack dashboard -> profile -> generate API key (keep same for all devices))
# PROXYRACK_HOST_UUID : Your host UUID (random string), you can generate it using the command : cat /dev/urandom | LC_ALL=C tr -dc 'A-F0-9' | dd bs=1 count=64 2>/dev/null
Proxyrack:
depends_on:
- Portainer
- Webserver
image: proxyrack/pop:latest
restart: always
environment:
- api_key=$PROXYRACK_API_KEY
- device_name=$DEVICE_NAME
- UUID=$PROXYRACK_HOST_UUID
networks:
default:
ipv4_address: 172.106.0.110
Expand Down

0 comments on commit 311ab2d

Please sign in to comment.