Repository navigation
feat(server): add Hostinger VPS provisioning and cloud tokens - #99
Open
andrasbacsai wants to merge 1 commit into
Open
andrasbacsai wants to merge 1 commit into
andrasbacsai wants to merge 1 commit into
Conversation
Add a `coolify server hostinger` command tree with data-centers, catalog, templates, ssh-keys, post-install-scripts and create subcommands. The create command purchases a paid, recurring VPS and asks for confirmation unless --force is passed. Backups are off by default. Accept hostinger as a cloud-token provider, and add the Hostinger service and models, including a catalog flattened to one row per plan and billing period. Add Client.PostOnce for non-idempotent requests so a purchase is never retried. API errors now keep the raw response body and the Retry-After header. Update README, docs and llms files.
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.
Summary
coolify cloud-token create --provider hostingernow works. Validation and help text list Hostinger alongside Hetzner, DigitalOcean and Vultr.coolify server hostingercommand tree:data-centers,catalog(aliasplans),templates,ssh-keysandpost-install-scriptstake<cloud_token_uuid>and list the options Hostinger offers.catalogprints one row per plan and billing period. Itsitem_idcolumn is the value to pass to--item-id. Prices are in cents and include the first-period price.--show-sensitive.coolify server hostinger createbuys a VPS and adds it to Coolify as a server:--cloud-token,--item-id,--data-center-id,--template-id,--private-key.--name,--enable-backups(default false, because backups cost extra),--ssh-key-ids,--post-install-script-id,--validate.-f/--forceto skip the prompt. Declining, an empty answer, or EOF sends no request.api.Client.PostOncehandles this.hostinger_virtual_machine_id, the command warns that the VM may already have been bought.Retry-Aftervalue.api.Errornow also stores the raw response body (Body) and theRetry-Afterheader (RetryAfter), so callers can show structured error details.llms.txt,llms-full.txtand the embedded docs are updated.Testing
--force), and hiding SSH keys in table output.