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:
mgrimace
2024-10-14 13:21:36 +00:00
committed by GitHub
parent 5afd8cbe1d
commit 7151f2351a
3 changed files with 18 additions and 5 deletions

View File

@@ -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