Commit Graph

3 Commits

Author SHA1 Message Date
Deeman
012aa13f3e fix: replace abandoned docker-autocompose with inline Python script
docker-autocompose 1.0.1 uses distutils (removed in Python 3.12) and
the old docker SDK (docker.Client). Replace with a small inline script
using docker>=7.0 + pyyaml, run via uv --with inline dependencies.

Uses com.docker.compose.service label for correct service names.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-27 17:18:50 +01:00
Deeman
90258d8b98 fix: use correct uvx invocation for docker-autocompose
Package installs 'autocompose' executable, not 'docker-autocompose'.
Correct form: uvx --from docker-autocompose autocompose

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-27 17:16:35 +01:00
Deeman
99e65eab50 refactor: two-phase setup — setup.sh (user/dirs/uv) + bootstrap.sh (recover/deploy)
Matches the beanflows pattern. No GitLab dependency — repo reaches the
server via rsync, Gitea becomes the remote once it's running.

setup.sh    — pipeable phase 1: infra_service user, /opt/server-infra,
              /data/server-infra, uv installation
bootstrap.sh — pipeable phase 2: validates prereqs, recovers umami +
              reverse-proxy compose files, creates data dirs, sets ownership

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-27 16:17:09 +01:00