1.4 KiB
1.4 KiB
- Date: 2026-03-16
- Decision:
deploy.shlocal mode always builds, pulls, and runsgit.mchus.pro/reanimator/coreaslinux/amd64, regardless of the operator host architecture. - Context: Developers run local deploy from Apple Silicon / ARM hosts, but the deployed container target is x86-compatible. Without an explicit runtime platform, Docker local pull/compose flow may select host architecture semantics and break the deploy.
- Consequences:
- Local deploy uses
DOCKER_DEFAULT_PLATFORM=linux/amd64. - Local image pull is explicit:
docker pull --platform linux/amd64. deploy.shprovides a dedicatedpush onlymode that buildslinux/amd64and publishes to Gitea Registry without any local or remote deploy step.- The project deployment contract is now "local mode emulates x86 deploy target", not "local mode follows host CPU architecture".
- Local deploy resolves compose directory from
DEPLOY_DIR, then falls back to repository-localinfra/reanimator/when/appdata/reanimatoris absent on the operator workstation. - Reanimator compose configuration uses directory-local
./reanimator.envso the same compose file works both in/appdata/reanimatorand in repository-local deploy fallback. - Deploy tag selection is explicit: compose image reference is parameterized by
REANIMATOR_IMAGEandREANIMATOR_TAG, anddeploy.shexports them beforedocker compose pull/up.
- Local deploy uses
- Affected:
deploy.sh