Commit Graph

8 Commits

Author SHA1 Message Date
Jeff Emmett ce8463951c feat: wire rSocials to pull secrets from Infisical at startup
Add entrypoint.sh that authenticates with Infisical Machine Identity
and injects secrets as env vars before starting the Node.js app.
Replaces individual secret env vars in docker-compose.yml with
Infisical client credentials. Falls back gracefully if Infisical
is unavailable.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-23 19:25:47 -08:00
Jeff Emmett 44357ba0a7 fix: add SMTP_TLS_REJECT_UNAUTHORIZED for Mailcow self-signed cert
Infisical's SMTP client has its own TLS validation separate from
NODE_TLS_REJECT_UNAUTHORIZED. Mailcow uses a self-signed cert
which caused signup to fail with "self-signed certificate" error.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-23 18:06:24 -08:00
Jeff Emmett ced6b1f49f feat: add centralized spaces config + Infisical secret management
Single spaces.yml defines all community Postiz instances. generate.sh
reads it and produces per-space docker-compose files with correct
Traefik labels, redirect middleware, and networking. Infisical
deployment config added for secrets.jeffemmett.com.

Adding a new space is now a single block in spaces.yml + ./generate.sh.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-23 17:35:15 -08:00
Jeff Emmett f767975986 feat: add rZine - AI-powered community zine creator
Port mycro-zine (zine.mycofi.earth) to rsocials.online/zine as a community
content generation tool. Full 8-page zine creation pipeline with Gemini AI
for outlines and image generation, Sharp for print layout composition.

- 7 API routes under /api/zine/ (outline, generate-page, regenerate-page,
  print-layout, save, generate-image, [id])
- 4-step creation wizard: topic → outline → page generation → print layout
- 5 visual styles, 4 tones, voice input, page refinement
- 300 DPI print-ready output (3300x2550px)
- Shareable zine viewer at /zine/z/[id] with OG metadata
- Docker: added zine-data volume, Sharp deps, env vars for API keys
- Also includes pre-existing Postiz URL updates (crypto-commons.org)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-23 16:21:27 -08:00
Jeff Emmett eca456deab fix: add public dir placeholder for Docker build 2026-02-23 09:52:57 -08:00
Jeff Emmett fb5e2d1329 Add Docker healthcheck to docker-compose.yml
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-21 17:49:14 -07:00
Jeff Emmett 88bcbc376e Add .dockerignore for optimized Docker builds
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-21 17:48:59 -07:00
Jeff Emmett fb3d93be95 feat: scaffold rSocials-online with landing page and Postiz deployment
Next.js 16 landing page with r* ecosystem treatment:
- Hero, features, platform grid, self-hosted advantages, deploy CTA
- OKLCH coral/violet theme, Shadcn/ui components, Geist fonts
- Dockerized with multi-stage build and Traefik labels (rsocials.online)

Postiz community deployment stack:
- Postiz app + PostgreSQL + Redis + Temporal workflow engine
- 20+ social platforms (X, Bluesky, Mastodon, LinkedIn, Discord, etc.)
- SMTP email via Mailcow (mailcow-network integration)
- Security hardened (cap_drop ALL, no-new-privileges, network segmentation)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-21 17:07:58 -07:00