Repository navigation
feat(services): install versions of every service side by side; Sites and Services rework - #6
Merged
Merged
Conversation
…PostgreSQL
MySQL, MariaDB, MongoDB, Valkey, Meilisearch and RustFS now keep every installed version
(one per line) next to the others, each with its own data; one runs on the service's port.
Installing another version no longer replaces the running one, switching is instant, and a
version can be uninstalled on its own (`flock services use <service> <version>`,
`flock services uninstall <service> [version]`, POST /v1/catalog/{id}/activate,
DELETE /v1/catalog/{id}?line=).
Also:
- PostgreSQL installs and uninstalls through `flock services` too
- installing a service picks the version and port the same way for PostgreSQL and the others
- the version lists of PostgreSQL and the other services look and work alike
- the Services list has a fixed width, and the list and the details scroll separately (Windows)
- Flock's own services (web, DNS, hosts file, mail, dumps) no longer show as unavailable
- the PHP versions are titled after their server: PHP-CGI (Windows), PHP-FPM (macOS)
…s the CLI's output as UTF-8
…the ports only when config.json changes them
…ds by itself when a site uses it)
lukas-frey
added a commit
that referenced
this pull request
Oct 17, 2026
… and Services rework (#6) * feat(services): install versions of every service side by side, like PostgreSQL MySQL, MariaDB, MongoDB, Valkey, Meilisearch and RustFS now keep every installed version (one per line) next to the others, each with its own data; one runs on the service's port. Installing another version no longer replaces the running one, switching is instant, and a version can be uninstalled on its own (`flock services use <service> <version>`, `flock services uninstall <service> [version]`, POST /v1/catalog/{id}/activate, DELETE /v1/catalog/{id}?line=). Also: - PostgreSQL installs and uninstalls through `flock services` too - installing a service picks the version and port the same way for PostgreSQL and the others - the version lists of PostgreSQL and the other services look and work alike - the Services list has a fixed width, and the list and the details scroll separately (Windows) - Flock's own services (web, DNS, hosts file, mail, dumps) no longer show as unavailable - the PHP versions are titled after their server: PHP-CGI (Windows), PHP-FPM (macOS) * feat(app): Sites as a list with the selected site's details, like Services * fix(windows): restart waits for the old daemon to stop; the tray reads the CLI's output as UTF-8 * feat(app): drop the HTTP, HTTPS and DNS port rows from General; show the ports only when config.json changes them * feat(app): install a FrankenPHP build ahead of time (it still downloads by itself when a site uses it)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Every service now works like PostgreSQL: versions install side by side, one runs on the service's port, switching is instant, and each version can be uninstalled on its own (also
flock services use/flock services uninstall <service> [version]).App (Windows and macOS alike):
Fixes:
flock restart(and the app's Restart) left Flock stopped: the new daemon started before the old one had exitedAlso includes the move of PostgreSQL's install/uninstall into
flock services.Tested on Windows with signed test builds (all checks green), including MySQL 8.4 next to 9.7 with switching both ways on port 3306, and restarting from the app.