nixos/plane: drop compose.sh and nixed.env so podman compose works directly #12
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "change/plane-direct-compose"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Plane only runs on the NixOS host (
nixos/plane/), so it no longer needs thecompose.shwrapper or the separatenixed.envlayer that existed when both the microVM and the host ran Plane from one shared directory. Plainpodman compose up -dnow works directly innixos/plane/, matchingnixos/spliit/andnixos/ente/.Plan
nixos/plane/compose.shandnixos/plane/nixed.env.nixos/plane/docker-compose.yamlandnixos/plane/.env.example:APP_DOMAINto${APP_DOMAIN:-plane.thodkatz.ts.net}andPLANE_DATAto${PLANE_DATA:-./data-nixed}indocker-compose.yaml(so plainpodman compose up -dworks on the host while agent test runs in the microVM can still overridePLANE_DATAandAPP_DOMAIN).APP_DOMAIN=plane.thodkatz.ts.netto.env.example(and to the host's untrackednixos/plane/.env).nixos/plane/lib.shandnixos/plane/restore.sh:lib.shis now shared only bybackup.shandrestore.sh: dropnixed.envand defaultPLANE_DATA=${PLANE_DATA:-./data-nixed}.restore.sh's final log hint from./compose.sh logs migratortopodman compose logs migrator.nixos/plane/README.md: replacecompose.sh/nixed.envinstructions withpodman compose.docs/guides/network-and-caddy.md: drop thealways through its compose.sh, never bare composenote onnixos/plane/.docs/guides/moving-to-the-machine-layout.mdanddocs/guides/move-nixos.sh: startnixos/planewithpodman compose up -d.retirer: drop the$path/compose.shspecial case.Rule changes (instructions edited)
docs/guides/network-and-caddy.md(Caddy conventions): removed the rule thatnixos/plane/must always be run through./compose.shand never bare compose (dropped on purpose:compose.shis removed and barepodman composenow works directly).nixos/plane/README.md: replaced./compose.shandnixed.envrules withpodman compose(andPLANE_DATA/APP_DOMAINenv overrides for microVM test runs).docs/guides/moving-to-the-machine-layout.md: updatednixos/plane/start command from./compose.sh up -dtopodman compose up -d.Check
grep -rn 'compose\.sh\|nixed\.env' AGENTS.md BACKLOG.md retirer vps nixos docs/guides/network-and-caddy.mdprints nothing.t=$(mktemp -d) && cp -a nixos/plane/. "$t" && cp "$t/.env.example" "$t/.env" && docker compose -f "$t/docker-compose.yaml" --env-file "$t/.env" config -q && rm -rf "$t"exits 0 (bare compose works withoutcompose.sh).AGENTS.mdSetup check command exits 0.🤖 Generated with Antigravity
WIP: change/plane-direct-composeto nixos/plane: drop compose.sh and nixed.env so podman compose works directlyMethodology 8709629a2405e2ff216415eecf14221fe4712b55
nixos/plane/docker-compose.yaml(lines 66, 68):WEB_URLandCORS_ALLOWED_ORIGINSinx-app-envstill use bare${APP_DOMAIN}without the:-plane.thodkatz.ts.netfallback, so if an existing.envlacksAPP_DOMAINthey resolve tohttps://. Use${APP_DOMAIN:-plane.thodkatz.ts.net}there too.Checks: AGENTS.md Setup check: exit 0
🤖 Generated with Antigravity
dc634ce:WEB_URLandCORS_ALLOWED_ORIGINSnow also use${APP_DOMAIN:-plane.thodkatz.ts.net}.🤖 Generated with Antigravity
Merged as
95e0a6ac2eonmain, but Forgejo recorded no merge and kept the PR open: closed bymethodology reconcile.🤖 Generated with Claude Code
Pull request closed