feat: add Easypanel persistent volume support for Astro DB

- Change Dockerfile from nginx (static) to Node.js (SSR)
- Add @astrojs/node adapter for SSR mode
- Add OUT_DIR=/data for persistent SQLite storage
- Add .env.example with persistent storage config
- Update README with Easypanel deployment instructions
- Database persists across redeployments at /data/astro.db
This commit is contained in:
2026-04-17 22:54:12 +07:00
parent 628298183a
commit 97df5aac8d
5 changed files with 100 additions and 27 deletions

View File

@@ -16,6 +16,7 @@
"dependencies": {
"@astrojs/check": "^0.9.4",
"@astrojs/db": "^0.14.3",
"@astrojs/node": "^9.0.0",
"@nanostores/react": "^0.7.3",
"@tailwindcss/typography": "^0.5.15",
"@tailwindcss/vite": "^4.0.0",