mirror of
https://github.com/coollabsio/coolify-examples.git
synced 2026-04-06 20:31:31 +00:00
Add Astro server configuration files and dependencies
This commit is contained in:
8
astro/server/README.md
Normal file
8
astro/server/README.md
Normal file
@@ -0,0 +1,8 @@
|
||||
# Coolify Configuration
|
||||
|
||||
Static build: `{"output":"static"}`
|
||||
|
||||
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 `node dist/server/entry.mjs`
|
||||
- Alternatively, you can set the `start script` inside `package.json` to `node dist/server/entry.mjs`. Then Nixpacks will automatically use it as the start command.
|
||||
Reference in New Issue
Block a user