album_sort: add beets sidecar and switch repo to SSH
Created by: jedmund
Summary
- Add a
beetssidecar to the album-sort stack, built fromdeploy/beets/in the album-sort source repo, sharing themusicvolume and exposing web (8337) + API (8338) on thesharednetwork - Wire album-sort to beets via
BEETS_WEB_URL/BEETS_API_URLenv vars anddepends_on: beets; create a newbeets-data/directory under the stack path - Switch
album_sort_repofrom HTTPS to SSH (ssh://git@git.atelier.house:2222/...) and update the git task withaccept_hostkey: true+become: falseso the role can pull from Forgejo without a PAT
Test plan
-
ansible-playbook deploy/album_sort.yml --check --diffshows expected compose changes -
Deploy for real; confirm album_sort_beetscontainer builds and starts -
docker exec album-sort curl -s http://beets:8337reaches the beets web UI -
album-sort picks up BEETS_WEB_URL/BEETS_API_URLand behaves as expected -
Source pull from Forgejo succeeds over SSH on first run (host key accepted)