services: microsoft-rewards-script: build: . container_name: netsky environment: - TZ=America/Toronto #change to your local timezone - NODE_ENV=production - HEADLESS=true #do not change ### Customize your run schedule, default 5:00 am and 11:00 am, use crontab.guru for formatting - CRON_START_TIME=0 5,11 * * * ### Run on start, set to false to only run the script per the cron schedule - RUN_ON_START=true volumes: ### Replace "/path/to/" with the actual path to where you want to save the files on your local machine. - /path/to/accounts.json:/usr/src/microsoft-rewards-script/dist/accounts.json - /path/to/config.json:/usr/src/microsoft-rewards-script/dist/config.json - /path/to/sessions:/usr/src/microsoft-rewards-script/dist/browser/sessions #optional, saves your login session deploy: resources: limits: memory: 2048M restart: unless-stopped