Fix Docker deployment and add Tailscale Funnel support

- Fix argon2 native module build in Docker (add build-essential, python3)
- Switch Docker base image from Alpine to Debian-slim for OpenSSL compatibility
- Fix session cookies for HTTP access (COOKIE_SECURE env var)
- Fix TypeScript type errors in sync routes and middleware
- Fix CSS circular dependency in globals.css
- Fix Map iteration in rate-limit cleanup
- Add createdAt field to LocalNote interface
- Configure Tailscale Funnel on port 10000
- Update NEXT_PUBLIC_APP_URL for public funnel access
- Add initial Prisma migration

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Gemini Agent
2026-01-19 09:00:19 +00:00
parent a32c609830
commit 515376e126
16 changed files with 8593 additions and 50 deletions

View File

@@ -66,7 +66,7 @@ export default function TodayPage() {
if (medications && doseLogs) {
const meds = medications.map((m) => ({
...m,
scheduleData: m.scheduleData as Medication['scheduleData'],
scheduleData: m.scheduleData as unknown as Medication['scheduleData'],
startDate: m.startDate ? new Date(m.startDate) : null,
endDate: m.endDate ? new Date(m.endDate) : null,
})) as Medication[]