Commit Graph

8 Commits

Author SHA1 Message Date
Kunthawat Greethong
2287e562dd fix: Add HOST=0.0.0.0 and PORT=80 environment variables for Docker 2026-03-09 21:18:40 +07:00
Kunthawat Greethong
d6aac2976b fix: Use Node adapter server instead of astro preview for production 2026-03-09 21:08:03 +07:00
Kunthawat Greethong
0c746bb2a6 fix: Create data directory before Astro DB build 2026-03-09 20:49:35 +07:00
Kunthawat Greethong
891bb3e96e fix: Add ASTRO_DB_REMOTE_URL and --remote flag to Docker build command 2026-03-09 20:47:12 +07:00
Kunthawat Greethong
6111b0e6ee fix: Update Dockerfile to use npm install --production instead of npm ci --production 2026-03-09 20:35:25 +07:00
Kunthawat Greethong
14ca77ed09 Refactor: Add full PDPA compliance features
- Cookie consent system (banner + modal) with Thai language
- Consent logging database (Astro DB + SQLite)
- API endpoints for consent management (POST/GET/DELETE)
- Admin dashboard for viewing consent logs (/admin/consent-logs)
- Umami Analytics integration (conditional loading with consent)
- Updated Privacy Policy (full 14-section PDPA Section 36 compliance)
- Updated Terms & Conditions (17 sections, Thailand law)
- Dockerfile updated with SQLite runtime
- Node.js adapter for SSR support
- Admin password: moreminimore2026!Secure (CHANGE IN PRODUCTION)

TODO: Configure Umami Analytics with actual Website ID
2026-03-09 13:08:09 +07:00
Kunthawat Greethong
80e0c0406f Update: use port 80 with serve package 2026-03-03 23:36:45 +07:00
Kunthawat Greethong
a578dd5a30 Initial commit: MoreminiMore redesign with Astro 2026-03-03 21:18:55 +07:00