mirror of
https://github.com/coollabsio/coolify-examples.git
synced 2026-02-18 21:38:58 +00:00
Add Astro to deployment options
This commit is contained in:
@@ -7,6 +7,7 @@ This repository contains examples of how to deploy applications using Coolify.
|
||||
- [x] Docker Compose
|
||||
- [x] Nuxt
|
||||
- [x] Bun
|
||||
- [x] Astro
|
||||
- [ ] Rails
|
||||
- [ ] Django
|
||||
- [ ] Laravel
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
# Coolify Configuration
|
||||
|
||||
Static build: `{"output":"static"}`
|
||||
Check [astro.config.mjs](./astro.config.mjs).
|
||||
|
||||
1. Use `Nixpacks`
|
||||
1. Use `Nixpacks`.
|
||||
2. Set `Ports Exposed` to `4321` (or any port you set in your `astro.config.mjs` file)
|
||||
3. Set `Start Command` to `HOST=0.0.0.0 node dist/server/entry.mjs`
|
||||
- Alternatively, you can set the `start script` inside `package.json` to `HOST=0.0.0.0 node dist/server/entry.mjs`. Then Nixpacks will automatically use it as the start command.
|
||||
- Alternatively, you can set the `start` script inside `package.json` to `HOST=0.0.0.0 node dist/server/entry.mjs`. Then Nixpacks will automatically use it as the start command.
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# Coolify Configuration
|
||||
|
||||
Static build: `{"output":"static"}`
|
||||
Check [astro.config.mjs](./astro.config.mjs).
|
||||
|
||||
1. Use `Nixpacks`
|
||||
1. Use `Nixpacks`.
|
||||
2. Turn on `Is it a static site?`.
|
||||
3. Set `Publish Directory` to `/dist`.
|
||||
Reference in New Issue
Block a user