Skip to content

Conversation

@Minijus-Sa
Copy link

@Minijus-Sa Minijus-Sa commented Oct 26, 2025

Fixes

Checks

  • Ran yarn test-build
  • Updated relevant documentations
  • Updated matching config options in altair-static

Changes proposed in this pull request:

Summary by Sourcery

Documentation:

  • Add a Hostinger section with a deploy badge linking to Hostinger VPS Docker hosting

Summary by CodeRabbit

  • Documentation
    • Added Hostinger deployment option documentation under deployment guides, providing users with setup instructions and resources for deploying via Hostinger.

@sourcery-ai
Copy link

sourcery-ai bot commented Oct 26, 2025

Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

This PR adds a new one-click deployment badge for Hostinger to the project README, enabling easy VPS deployment alongside existing providers.

File-Level Changes

Change Details Files
Add Hostinger deployment badge
  • Introduce “Hostinger” subsection
  • Insert badge image and link markup for Hostinger deployment
README.md

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@gemini-code-assist
Copy link

Summary of Changes

Hello @Minijus-Sa, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request enhances the project's deployment documentation by integrating a new option for Hostinger. By adding a dedicated badge and link to the README.md, users can now more easily discover and utilize Hostinger as a platform for deploying the application, expanding the range of readily available deployment methods.

Highlights

  • Hostinger Deployment Badge: A new deployment badge and section have been added to the README.md file, providing a direct link for deploying the application on Hostinger's VPS Docker hosting.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@coderabbitai
Copy link

coderabbitai bot commented Oct 26, 2025

Walkthrough

A new Hostinger deployment option section is added to the README documentation under the Docker deployment section, including a header, image badge link, and appropriate spacing. No existing deployment configurations are modified.

Changes

Cohort / File(s) Summary
Documentation Updates
README.md
Added Hostinger deployment option block with header, image badge link, and spacing under Docker deployment section

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

  • Straightforward documentation addition with no logic changes or complexity
  • Addition is isolated to a single documentation file with consistent formatting

Poem

🐰 A badge for Hostinger, shiny and new,
Nestled beneath Docker, in README too,
One file, one section, a hop and a bound,
Documentation grows, with barely a sound! 🚀

Pre-merge checks and finishing touches

❌ Failed checks (1 warning)
Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. You can run @coderabbitai generate docstrings to improve docstring coverage.
✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title Check ✅ Passed The PR title "Add deployment badge for Hostinger" directly aligns with the main change, which is the insertion of a Hostinger deployment option block with an image badge in the README.md file. The title is concise (5 words), clear, and specific enough that a developer reviewing the commit history would immediately understand the primary change is adding Hostinger deployment badge support. The phrasing avoids vague terms and accurately conveys the intent of the changeset.
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey there - I've reviewed your changes and they look great!


Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request adds a deployment badge for Hostinger to the README file. However, the deployment link uses a placeholder value for the compose_url parameter, which means the deployment button will not work as intended. I have provided a suggestion to fix this by pointing it to the compose.yaml file in the repository.


#### Hostinger

[![Deploy on Hostinger](https://assets.hostinger.com/vps/deploy.svg)](https://www.hostinger.com/vps/docker-hosting?compose_url=docker-compose-url)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

The compose_url parameter in the Hostinger deployment link has a placeholder value docker-compose-url. This will cause the deployment to fail. It should be replaced with the URL-encoded path to the compose.yaml file from this repository.

Suggested change
[![Deploy on Hostinger](https://assets.hostinger.com/vps/deploy.svg)](https://www.hostinger.com/vps/docker-hosting?compose_url=docker-compose-url)
[![Deploy on Hostinger](https://assets.hostinger.com/vps/deploy.svg)](https://www.hostinger.com/vps/docker-hosting?compose_url=https%3A%2F%2Fraw.githubusercontent.com%2Faltair-graphql%2Faltair%2Fmaster%2Fcompose.yaml)

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between bddab59 and ec51b87.

📒 Files selected for processing (1)
  • README.md (1 hunks)
🧰 Additional context used
📓 Path-based instructions (2)
**/README.md

📄 CodeRabbit inference engine (.github/instructions/documentation.instructions.md)

**/README.md: Every package should have a clear README.md file
README.md should include purpose, installation, usage, and API documentation

**/README.md: Provide clear usage instructions in README files
Document configuration options in README files
Include troubleshooting guides in README files
Show example outputs in README files

Files:

  • README.md
**/*.{md,mdx}

📄 CodeRabbit inference engine (.github/instructions/documentation.instructions.md)

**/*.{md,mdx}: Provide working code examples in documentation
Organize documentation by feature and user journey
Include getting started guides and tutorials
Provide troubleshooting and FAQ sections
Use clear, concise language
Follow consistent terminology throughout documentation
Write for the target audience (developers, end users)
Use active voice and present tense
Provide complete, working code examples
Test all code examples to ensure they work
Use realistic, relevant examples
Include both basic and advanced usage patterns
Use clear headings and subheadings
Organize content logically from basic to advanced
Use bullet points and numbered lists for clarity
Include a table of contents for long documents
Document all public functions and classes with parameter types, descriptions, return values, exceptions, and usage examples
Document all public interfaces and types with purpose, usage context, examples, and constraints
Explain features from the user's perspective
Include step-by-step instructions with screenshots in user guides
Cover common use cases and workflows
Provide troubleshooting tips in feature docs
Create migration guides for breaking changes with before/after examples and reasoning; include automated tools when possible
Document the development environment setup, prerequisites, and troubleshooting
Keep development setup instructions up to date
Document coding standards, architecture decisions, and examples of good/bad practices; reference automated tools
Release notes should highlight major features, include upgrade instructions, mention breaking changes, and link to detailed docs
Update examples to match current API
Remove outdated information from docs
Fix broken links and references
Use inclusive, accessible language; avoid jargon when possible; define technical terms; consider non-native English speakers
Use proper heading hierarchy for visual accessibility
Include alt text for images and screenshots
Ensure sufficient color contrast in embedded vi...

Files:

  • README.md
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
  • GitHub Check: Sourcery review

Comment on lines +97 to +99
#### Hostinger

[![Deploy on Hostinger](https://assets.hostinger.com/vps/deploy.svg)](https://www.hostinger.com/vps/docker-hosting?compose_url=docker-compose-url)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🔴 Critical

🧩 Analysis chain

Verify Hostinger deployment link is complete and functional.

The Hostinger deployment URL contains a placeholder parameter ?compose_url=docker-compose-url that appears incomplete. Compare this with the DigitalOcean example (line 101-103), which includes an actual repository reference in its deployment URL.

Ensure the Hostinger URL either:

  1. Includes the correct docker-compose file reference, or
  2. Contains the appropriate repository parameter like the other providers

Testing the link to verify it opens a valid Hostinger deployment flow would help confirm it's correctly configured.

If the URL needs to reference the docker-compose file, apply a fix like:

-[![Deploy on Hostinger](https://assets.hostinger.com/vps/deploy.svg)](https://www.hostinger.com/vps/docker-hosting?compose_url=docker-compose-url)
+[![Deploy on Hostinger](https://assets.hostinger.com/vps/deploy.svg)](https://www.hostinger.com/vps/docker-hosting?compose_url=https://raw.githubusercontent.com/altair-graphql/altair/master/docker-compose.yml)

Or if Hostinger uses a different parameter pattern, adjust accordingly based on their deployment documentation.



---

🏁 Script executed:

```shell
#!/bin/bash
# Extract README.md lines 90-115 to see deployment section context
if [ -f "README.md" ]; then
  sed -n '90,115p' README.md
else
  echo "README.md not found"
fi

Length of output: 1305


🏁 Script executed:

#!/bin/bash
# Find docker-compose files in repository
fd -e yml -e yaml | grep -i docker-compose

Length of output: 81


🏁 Script executed:

#!/bin/bash
# Search for all deployment provider links in README.md
rg -n "digitalocean|vercel|render|hostinger" -i README.md

Length of output: 1268



---

🌐 Web query:

```web
Hostinger Docker deployment compose_url parameter documentation

💡 Result:

Hostinger documents the compose_url query parameter in its "Deploy on Hostinger" and Docker Manager docs: it’s a URL parameter you add to the VPS Docker-hosting URL that points to a docker-compose.yml (raw GitHub/GitLab or direct file URL). Example usage and referral-code option are shown in the docs:

  • Deploy on Hostinger button (shows ?compose_url=your-docker-compose-url and example). [1]
  • Docker Manager / Compose from URL (explains the Compose-from-URL flow and supported sources). [2]

References:
[1] Hostinger — Deploy on Hostinger button.
[2] Hostinger — How to deploy your first container with Hostinger Docker manager.


Fix Hostinger deployment URL with correct docker-compose.yml path.

The Hostinger deployment URL contains placeholder text ?compose_url=docker-compose-url that must reference the actual docker-compose.yml file. The repository has this file at packages/altair-api/docker-compose.yml, so the URL should be updated to:

-[![Deploy on Hostinger](https://assets.hostinger.com/vps/deploy.svg)](https://www.hostinger.com/vps/docker-hosting?compose_url=docker-compose-url)
+[![Deploy on Hostinger](https://assets.hostinger.com/vps/deploy.svg)](https://www.hostinger.com/vps/docker-hosting?compose_url=https://raw.githubusercontent.com/altair-graphql/altair/master/packages/altair-api/docker-compose.yml)
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
#### Hostinger
[![Deploy on Hostinger](https://assets.hostinger.com/vps/deploy.svg)](https://www.hostinger.com/vps/docker-hosting?compose_url=docker-compose-url)
#### Hostinger
[![Deploy on Hostinger](https://assets.hostinger.com/vps/deploy.svg)](https://www.hostinger.com/vps/docker-hosting?compose_url=https://raw.githubusercontent.com/altair-graphql/altair/master/packages/altair-api/docker-compose.yml)
🤖 Prompt for AI Agents
In README.md around lines 97 to 99, the Hostinger deploy link uses the
placeholder query ?compose_url=docker-compose-url; replace that placeholder with
the URL-encoded raw URL to the repository's
packages/altair-api/docker-compose.yml (i.e. the
raw.githubusercontent.com/<owner>/<repo>/<branch>/packages/altair-api/docker-compose.yml
path encoded into the compose_url query param) so Hostinger points to the actual
docker-compose.yml in this repo.

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.

1 participant