Ever since the takedown of the original GitHub repository, this image has been migrated over to use the GitLab one. But it seems to me that the GitLab one is not as updated and has multiple open issues.
farshadz1997/Microsoft-Rewards-bot but dockerized.
docker run --rm -it \
--shm-size 4g \
-v "$PWD"/accounts.json:/app/accounts.json \
ghcr.io/haq/microsoft-rewards-bot
services:
rewards-home:
image: ghcr.io/haq/microsoft-rewards-bot
container_name: rewards_home
shm_size: 4gb
volumes:
- ./accounts.json:/app/accounts.json
restart: no
rewards-vpn:
image: ghcr.io/haq/microsoft-rewards-bot
container_name: rewards_vpn
network_mode: service:wireguard
shm_size: 4gb
depends_on:
- wireguard
volumes:
- ./accounts.json:/app/accounts.json
restart: no
wireguard:
image: lscr.io/linuxserver/wireguard
container_name: wireguard
cap_add:
- NET_ADMIN
- SYS_MODULE
sysctls:
- net.ipv4.conf.all.src_valid_mark=1
- net.ipv4.ip_forward=1
- net.ipv6.conf.all.disable_ipv6=1
volumes:
- ./wg0.conf:/config/wg0.conf
restart: unless-stopped
[
{
"username": "[email protected]",
"password": "password-1"
},
{
"username": "[email protected]",
"password": "password-2"
},
{
"username": "[email protected]",
"password": "password-3"
}
]
[Interface]
PrivateKey =
Address =
DNS =
[Peer]
PublicKey =
PresharedKey =
AllowedIPs = 0.0.0.0/0
PersistentKeepalive = 25
Endpoint =
- It is recommended that you randomize the time each script is run.
- Also take note of how long the script takes to run. There should be no overlap.
0 4 * * * docker start rewards_home
0 5 * * * docker start rewards_vpn