Skip to content

Conversation

roberto-aguilar
Copy link
Contributor

I'm creating dotfiles that as soon as Omarchy is installed, allow me to perform my own customizations to get the system up and running in no time according to my own needs.

One of them for example setups the Laravel development environment:

~/.local/share/omarchy/bin/omarchy-install-dev-env laravel

However, something like that is not possible with the Docker databases because it assumes interactivity via gum.

This PR fixes that by either continue to provide interactivity to collect choices:

$ ~/.local/share/omarchy/bin/omarchy-install-docker-dbs

Select databases (space to select, return to install, esc to cancel)
> • MySQL
  • PostgreSQL
  • Redis
  • MongoDB
  • MariaDB

or using the provided arguments as choices:

$ ~/.local/share/omarchy/bin/omarchy-install-docker-dbs MySQL Redis

66b3efcb3d1af35ffc6c96ab467ee180d8d59dcec3a3ae8da4ba2ba600bf0787
52fe06e6f54e526fff446f2de58d15ee8d9eed01d13fe4e9c71e99557f9b619c

I'm creating dotfiles that as soon as Omarchy is installed, allow me to
perform my own customizations to get the system up and running in no
time according to my own needs.

One of them for example runs:

    ~/.local/share/omarchy/bin/omarchy-install-dev-env laravel

However, something like that is not possible with the Docker databases
because it assumes interactivity via `gum`.

This PR fixes that by either taking the choices as arguments or
providing interactivity when that's not the case.

    ~/.local/share/omarchy/bin/omarchy-install-docker-dbs MySQL
@roberto-aguilar roberto-aguilar changed the title Make the Docker DBs file invokable Make the Docker DBs file scriptable Sep 3, 2025
@dhh dhh changed the base branch from master to dev September 7, 2025 19:00
@dhh dhh merged commit 816a660 into basecamp:dev Sep 7, 2025
@roberto-aguilar roberto-aguilar deleted the docker-dbs branch September 8, 2025 18:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants