Add Streamlit Docker auto-sync deployment
This commit is contained in:
27
readme.md
27
readme.md
@@ -39,6 +39,33 @@ spotify_to_tidal --sync-favorites
|
||||
|
||||
See example_config.yml for more configuration options, and `spotify_to_tidal --help` for more options.
|
||||
|
||||
Streamlit + Docker auto-sync
|
||||
----------------------------
|
||||
The Streamlit app can run a daily background sync while it is open in Docker.
|
||||
It syncs the playlists marked with "Watch" in the app.
|
||||
|
||||
Enable it in `config.yml`:
|
||||
|
||||
```yaml
|
||||
auto_sync:
|
||||
enabled: true
|
||||
daily_at: "03:00"
|
||||
timezone: Europe/Berlin
|
||||
run_on_startup: false
|
||||
sync_external: false
|
||||
sync_favorites: false
|
||||
```
|
||||
|
||||
Then start the local container:
|
||||
|
||||
```bash
|
||||
docker compose up -d --build
|
||||
```
|
||||
|
||||
Open the app at http://localhost:8501. The container mounts the project folder
|
||||
so `config.yml`, `session.json`, `.session.yml`, `.cache-*`, and the auto-sync
|
||||
status file persist on your machine.
|
||||
|
||||
---
|
||||
|
||||
#### Join our amazing community as a code contributor
|
||||
|
||||
Reference in New Issue
Block a user