Add Astro server configuration files and dependencies

This commit is contained in:
Andras Bacsai
2024-03-14 14:47:56 +01:00
parent d28a086ea4
commit 5d01656e8c
13 changed files with 6957 additions and 0 deletions

8
astro/server/README.md Normal file
View 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.