From 311ab2d4ca24a1bfefcbacd45fc78098bedb7de7 Mon Sep 17 00:00:00 2001 From: OlivierGaland Date: Mon, 6 Nov 2023 19:12:46 +0100 Subject: [PATCH] new version of proxyrack --- .env | 5 +++-- README.md | 1 + docker-compose.yml | 5 ++--- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.env b/.env index 4a9c481..951b58d 100644 --- a/.env +++ b/.env @@ -47,8 +47,9 @@ RP_API_KEY='' # Your Proxylite USER ID (to retrieve in your proxylite dashboard) PROXYLITE_USER_ID= -# Your Proxyrack API KEY (to retrieve in your proxyrack dashboard -> profile (use generate if not existing)) -PROXYRACK_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= # Internal environment (do not change) _COMPOSE_PROJECT_NAME=cashfactory diff --git a/README.md b/README.md index 40513a5..b48166d 100644 --- a/README.md +++ b/README.md @@ -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 : diff --git a/docker-compose.yml b/docker-compose.yml index dac6ed0..9319e57 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -206,7 +206,7 @@ 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 @@ -214,8 +214,7 @@ services: 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