https://github.com/zeropsio/recipe-astro-static
https://github.com/zeropsio/recipe-astro-static
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/zeropsio/recipe-astro-static
- Owner: zeropsio
- License: mit
- Created: 2024-06-12T14:58:34.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-12-04T09:18:35.000Z (over 1 year ago)
- Last Synced: 2025-12-23T05:50:33.764Z (6 months ago)
- Language: Astro
- Size: 589 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Zerops x Astro - Static
Astro is a server-first JavaScript web framework that supports every major UI framework, it's optimized for building fast, content-driven websites. [Zerops](https://zerops.io) makes deploying and running Astro sites, both server side rendered and static, a breeze. This recipe showcases the static version, see [zeropsio/recipe-astro-nodejs](https://github.com/zeropsio/recipe-astro-nodejs) for the SSR version.

## Deploy on Zerops
You can either click the deploy button to deploy directly on Zerops, or manually copy the [import yaml](https://github.com/zeropsio/recipe-astro-static/blob/main/zerops-project-import.yml) to the import dialog in the Zerops app.
[](https://app.zerops.io/recipe/astro-static)
## Recipe features
Static version of **Astro 4.1** running on a **Zerops Static** service.
## Production vs. development
This recipe is ready for production as is, and will scale horizontally by adding more containers in case of high traffic surges. If you want to achieve the highest baseline reliability and resiliace, start with at least two containers (add `minContainers: 2` in recipe YAML in the `app` service section, or change the minimum containers in "Automatic Scaling configuration" section of service detail).
## Changes made over the default installation
If you want to modify your existing Astro Static site to efficiently run on Zerops, there are no changes needed in the codebase on top of the standard installation, just add [zerops.yml](https://github.com/zeropsio/recipe-astro-static/blob/main/zerops.yml) to your repository.
Need help setting your project up? Join [Zerops Discord community](https://discord.com/invite/WDvCZ54).