diff --git a/README.md b/README.md index 117165d..d563c62 100644 --- a/README.md +++ b/README.md @@ -23,12 +23,15 @@ mise exec chezmoi@latest -- chezmoi --source "$PWD" apply "$HOME/.config/mise" mise install mise run setup chezmoi apply "$HOME/.config/services" -mise run services:connect +docker compose -f ~/.config/services/onepassword-connect/compose.yaml up -d mise run check chezmoi status chezmoi apply ``` +On Linux, start Connect with `sudo podman-compose up -d` from +`~/.config/services/onepassword-connect` instead. + Edit preferences in `home/`, then run `chezmoi apply`. To sync another workstation, pull the revision you want and run the same commands. `mise use --global` and `mise upgrade --global` edit the live Mise configuration, diff --git a/home/dot_config/mise/tasks/services.toml b/home/dot_config/mise/tasks/services.toml deleted file mode 100644 index c831dd3..0000000 --- a/home/dot_config/mise/tasks/services.toml +++ /dev/null @@ -1,24 +0,0 @@ -["services:browserless"] -description = "Start Browserless" -run = ''' -{% if os() == "macos" %} -docker compose --file "$HOME/.config/services/browserless/compose.yaml" up --detach -{% else %} -podman-compose --file "$HOME/.config/services/browserless/compose.yaml" up --detach -{% endif %} -''' - -["services:connect"] -description = "Start 1Password Connect" -run = ''' -{% if os() == "macos" %} -docker compose --file "$HOME/.config/services/onepassword-connect/compose.yaml" up --detach -{% else %} -sudo podman-compose --file "$HOME/.config/services/onepassword-connect/compose.yaml" up --detach -{% endif %} -''' - -["services:orca"] -description = "Enable Orca Server" -env.ORCA_USER_DATA_PATH = "{{env.HOME}}/.orca" -run = 'orca-ide serve service install --command "$HOME/.local/share/mise/shims/orca-ide" --port 6768 --bind 0.0.0.0 --refuse-public'