14 Commits

Author SHA1 Message Date
046689e363 fix: set CI=true for pnpm install -rP in frontend Dockerfile
Some checks failed
Build and Push Backend Image / build (push) Failing after 28s
Build and Push Frontend Image / build (push) Successful in 4m50s
pnpm requires CI=true to allow non-interactive removal of node_modules
in CI environments without a TTY.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-04 19:19:45 +01:00
9d7afbe1b5 feat: replace Directus with custom Node.js GraphQL backend
Removes Directus 11 and replaces it with a lean, purpose-built backend:
- packages/backend/: Fastify v5 + GraphQL Yoga v5 + Pothos (code-first)
  with Drizzle ORM, Redis sessions (session_token cookie), argon2 auth,
  Nodemailer, fluent-ffmpeg, and full gamification system ported from bundle
- Frontend: @directus/sdk replaced by graphql-request v7; services.ts fully
  rewritten with identical signatures; directus.ts now re-exports from api.ts
- Cookie renamed directus_session_token → session_token
- Dev proxy target updated 8055 → 4000
- compose.yml: Directus service removed, backend service added (port 4000)
- Dockerfile.backend: new multi-stage image with ffmpeg
- Dockerfile: bundle build step and ffmpeg removed from frontend image
- data-migration.ts: one-time script to migrate all Directus/sexy_ tables

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-04 18:07:18 +01:00
1e69d0b158 fix: create env placeholder file inline in Dockerfile for dynamic public env
Some checks failed
Build and Push Docker Image to Gitea / build-and-push (push) Failing after 4m6s
.dockerignore excludes .env files so the previous COPY failed silently.
$env/dynamic/public requires variable names to be declared at build time
to generate named exports; empty placeholders satisfy this while actual
values still come from process.env at runtime.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-04 17:09:42 +01:00
13c6977e59 feat: add PUBLIC_UMAMI_SCRIPT variable and integrate into layout
Some checks failed
Build and Push Docker Image to Gitea / build-and-push (push) Failing after 2m13s
2026-02-21 11:05:30 +01:00
c85fa7798e chore: remove Letterspace newsletter integration and all LETTERSPACE_* variables 2026-02-21 10:56:43 +01:00
Valknar XXX
6d8996fef1 fix: dockerfile 2025-10-26 07:47:22 +01:00
Valknar XXX
9154548cf0 fix: dockerfile 2025-10-26 03:35:29 +01:00
Valknar XXX
392d42ce2c fix: dockerfile 2025-10-26 02:10:36 +02:00
Valknar XXX
3c04314492 fix: dockerfile 2025-10-26 01:56:26 +02:00
Valknar XXX
cc19e57131 fix: newer node image 2025-10-26 00:12:58 +02:00
Valknar XXX
5df6f10968 fix: pnpm prune --prod 2025-10-26 00:00:28 +02:00
Valknar XXX
03baca8272 fix: .env.production in Dockerfile 2025-10-25 23:08:07 +02:00
Valknar XXX
29e8808be1 fix: PUBLIC_URL usage and add ffmpeg 2025-10-25 22:38:45 +02:00
Valknar XXX
bcc9ba1c6d feat: docker 2025-10-25 22:29:06 +02:00