Famous people: admin page, own prompt, one photo, public pages
- Admin "Híres emberek": birth data, one photo (S3: DigitalOcean Spaces in production, RustFS in development), a face point that every crop keeps in view, publishing, and a detailed portrait written with its own `celebrity` prompt (third person, by name, from the chart alone). - The photo is stored once (upright JPEG, at most 2000 px, no metadata); next/image makes the sizes from it, so Cloudflare can cache those. - Public list and pages (/hires-emberek), in the sitemap, with a share image showing the face and the chart. - Share images: the wheel's glyphs and numbers are drawn with the card's fonts (inside the SVG image they came out as boxes, on every card). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
This commit is contained in:
@@ -3,6 +3,9 @@
|
||||
#
|
||||
# Mailpit catches every e-mail the worker sends; nothing leaves the machine.
|
||||
# Web UI: http://<server>:8025
|
||||
#
|
||||
# RustFS stands in for DigitalOcean Spaces (S3-compatible object storage of the
|
||||
# famous people's photos). Console: http://localhost:9001 (rustfs-dev / rustfs-dev-secret).
|
||||
|
||||
services:
|
||||
mailpit:
|
||||
@@ -15,9 +18,36 @@ services:
|
||||
- "8025:8025"
|
||||
restart: unless-stopped
|
||||
|
||||
rustfs:
|
||||
image: rustfs/rustfs:1.0.4
|
||||
environment:
|
||||
RUSTFS_ACCESS_KEY: rustfs-dev
|
||||
RUSTFS_SECRET_KEY: rustfs-dev-secret
|
||||
RUSTFS_CONSOLE_ENABLE: "true"
|
||||
volumes:
|
||||
- rustfs:/data
|
||||
ports:
|
||||
- "127.0.0.1:9000:9000"
|
||||
- "127.0.0.1:9001:9001"
|
||||
restart: unless-stopped
|
||||
|
||||
backend:
|
||||
environment:
|
||||
S3_ENDPOINT: http://rustfs:9000
|
||||
S3_BUCKET: sorsfonalak-dev
|
||||
S3_ACCESS_KEY_ID: rustfs-dev
|
||||
S3_SECRET_ACCESS_KEY: rustfs-dev-secret
|
||||
S3_CREATE_BUCKET: "true"
|
||||
depends_on:
|
||||
rustfs:
|
||||
condition: service_started
|
||||
|
||||
worker:
|
||||
environment:
|
||||
SMTP_URL: smtp://mailpit:1025
|
||||
depends_on:
|
||||
mailpit:
|
||||
condition: service_healthy
|
||||
|
||||
volumes:
|
||||
rustfs:
|
||||
|
||||
Reference in New Issue
Block a user