Repository navigation
v0.0.64
CronCompose v0.0.64
Redeploy restarts PM2/systemd into the new release, and deploy env (e.g.
FRONTEND_PORT) survives the releases layout instead of going missing or
getting overwritten.
Highlights
- PM2 restart on deploy — If a process is already online from a previous
release, the agent deletes it and starts fresh undercurrent/. Skipping
start leftpm_cwdon a pruned release and causedMODULE_NOT_FOUND/
crash loops with no app changes. - systemd restart — After
enable --now, the unit is restarted so an
already-active service picks up the new release. - Stable
.envon disk — Project and per-app env are written into the
release and project base.env. Gitignored env that only lived in an old
checkout is no longer lost after migrate/prune. - Monorepo listen ports — Starting the frontend no longer rewrites shared
PROXY_PORTwhenFRONTEND_PORT/BACKEND_PORTare present. - Deploy env wins — Child process env overlays replace agent keys instead
of appending duplicates thatgetenvcould ignore.
Upgrade
- Update/rebuild the agent on each deploy host (required).
- Rebuild/restart the control plane only if you pull this tag there too.
- Redeploy affected projects (or
pm2 delete+ start once) so processes run
fromcurrent/with the written.env. - Confirm in CronCompose project Env (or
/opt/.../<project>/.env) that
FRONTEND_PORT/BACKEND_PORT/PROXY_PORTare set as you expect.