Add Streamlit Docker auto-sync deployment

This commit is contained in:
2026-05-14 21:19:34 +02:00
parent d9f251b2fc
commit 9e4599718d
10 changed files with 291 additions and 5 deletions

View File

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