mirror of
https://github.com/TheNetsky/Microsoft-Rewards-Script.git
synced 2026-01-11 10:56:17 +00:00
Docker updates and maintenance (#164)
- Update run_daily.sh to use compose.yaml env var overrides if present on scheduled jobs, not just first run. Defaults back to config.json values if no override specified. - update sample compose.yaml with volume mapping to keep config.json, accounts.json, and sessions folder persistent on local machine (e.g., to keep data persistent through updates).
This commit is contained in:
@@ -28,5 +28,8 @@ sleep $SLEEPTIME
|
||||
# Log the start of the script
|
||||
echo "Starting script..."
|
||||
|
||||
# Update config with environment variables before running the script
|
||||
node src/updateConfig.js
|
||||
|
||||
# Execute the Node.js script directly
|
||||
npm run start
|
||||
|
||||
Reference in New Issue
Block a user