Files
opencode-skill/skills/website-creator/templates/astro-tina-starter/.env.example
Kunthawat Greethong 97df5aac8d 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
2026-04-17 22:54:12 +07:00

18 lines
557 B
Plaintext

# Astro + Tina CMS Environment Variables
# Site URL
PUBLIC_SITE_URL=https://your-domain.com
# Tina CMS (optional - for production Tina admin)
TINA_TOKEN=your-tina-token-from-tina-cloud
TINA_CLIENT_ID=your-client-id
# Astro DB - Persistent Storage
# IMPORTANT: Set OUT_DIR to /data for Docker/Easypanel persistent volume
# This ensures database persists across redeployments
OUT_DIR=/data
# Optional: External Turso database (if using external DB instead of local SQLite)
# TURSO_DATABASE_URL=libsql://your-db.turso.io
# TURSO_AUTH_TOKEN=your-auth-token