Skip to content

SpawnWP 0.5.32

Choose a tag to compare

@tts-empire tts-empire released this 05 Aug 08:23
· 30 commits to main since this release

description: SpawnWP 0.5.32 release notes — reserve stopped-site ports and repair duplicates.

SpawnWP 0.5.32

SpawnWP previously selected per-site host ports by looking only at TCP listeners. Bringing a
site Down removed those listeners but kept its assigned ports in the site's .env; creating
another site at that point could reuse all three. Docker then allowed only one of the two sites
to start. This was reported in GitHub issue #14.

New sites now reserve the WordPress, Mailpit and Adminer ports declared by every existing
project, including stopped projects, as well as ports used by unrelated host services.

Updating also repairs existing duplicate assignments. A running service keeps its current
port; otherwise the repair keeps one deterministic claimant and remaps the others. The matching
project .env and nginx blocks are updated together and validated before nginx reloads. Sites
that were Down remain Down and pick up their corrected ports the next time they start. No site
content, database, credentials or snapshots are changed.