-
Notifications
You must be signed in to change notification settings - Fork 366
/
docker-compose.yml
23 lines (23 loc) · 935 Bytes
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
version: '3'
services:
grass:
build:
context: .
dockerfile: Dockerfile
# image: jagerzhang/grass
volumes:
- ./data/accounts.txt:/grass/data/accounts.txt
- ./data/proxies.txt:/grass/data/proxies.txt
ports:
- 8080:80
environment:
- MIN_PROXY_SCORE=50
- CLAIM_REWARDS_ONLY=False # claim tiers rewards only (https://app.getgrass.io/dashboard/referral-program)
- REGISTER_ACCOUNT_ONLY=True
- REGISTER_DELAY="(3, 7)"
- THREADS=2 # for register account / claim rewards mode only
- CHECK_POINTS=True # show point for each account every nearly 10 minutes
- STOP_ACCOUNTS_WHEN_SITE_IS_DOWN=True # stop account for 20 minutes, to reduce proxy traffic usage
- SHOW_LOGS_RARELY=False
- ACCOUNTS_FILE_PATH="data/accounts.txt"
- PROXIES_FILE_PATH="data/proxies.txt"