Files
coolify-examples/astro/server/README.md
2024-03-14 14:52:28 +01:00

9 lines
416 B
Markdown

# 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 `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.