server-up/apps/mastodon/files/compose.yaml
Ramon c9b73d8b69
All checks were successful
Deploy server-up (dev) / deploy (push) Successful in 2m31s
v0.8.10-beta - Vervangers voor big tech, en sleutels in het juiste formaat
- Sjablonen kunnen nu secret_format ("hex" of "laravel") en secret_bytes
  opgeven. De generator maakte altijd url-veilige base64, en dat is precies wat
  Laravel, Homarr en LibreChat weigeren
- Daarmee kwamen twee fouten uit v0.8.00 aan het licht: Homarr en LibreChat
  kregen sleutels die hun containers niet accepteren. Rechtgezet
- Snipe-IT en Invoice Ninja alsnog toegevoegd; die vielen vorige ronde af omdat
  hun APP_KEY niet te genereren was
- 19 vervangers voor big tech erbij, van 197 naar 218 apps:
  Baikal en Radicale (Google Agenda/Contacten), LibreTranslate (Translate),
  CryptPad, Collabora en ONLYOFFICE (Google Docs), Formbricks (Forms),
  Jitsi Meet (Meet/Zoom), PeerTube, Invidious en Tube Archivist (YouTube),
  Owncast (Twitch), Mastodon (X), Pixelfed (Instagram), Lemmy (Reddit),
  Cal.com (Calendly), Rallly (Doodle), DocuSeal (DocuSign), Penpot (Figma)
- Communicatie van 12 naar 16 apps, productiviteit van 21 naar 31
- Nieuwe JS-test voor de sleutelformaten; alle 242 images in de catalogus
  opnieuw tegen hun registry gecontroleerd

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Q9eqpADJSRs49SoGGr4NAy
2026-08-01 03:49:10 +02:00

46 lines
1.5 KiB
YAML

services:
<< service_name >>:
image: ghcr.io/mastodon/mastodon:latest
container_name: << service_name >>
environment:
- TZ=<< timezone >>
- LOCAL_DOMAIN=<< domein >>
- RAILS_ENV=production
- DB_HOST=<< service_name >>-db
- DB_USER=mastodon
- DB_NAME=mastodon
- DB_PASS=<< db_password >>
- DB_PORT=5432
- REDIS_HOST=<< service_name >>-redis
- REDIS_PORT=6379
- SECRET_KEY_BASE=<< secret_key_base >>
- OTP_SECRET=<< otp_secret >>
- ACTIVE_RECORD_ENCRYPTION_PRIMARY_KEY=<< ar_primary_key >>
- ACTIVE_RECORD_ENCRYPTION_DETERMINISTIC_KEY=<< ar_deterministic_key >>
- ACTIVE_RECORD_ENCRYPTION_KEY_DERIVATION_SALT=<< ar_salt >>
volumes:
- << appdata_dir >>/<< service_name >>:/mastodon/public/system
command: bash -c "rails db:migrate && rails s -p 3000"
ports:
- "<< port >>:3000"
depends_on:
- << service_name >>-db
- << service_name >>-redis
restart: unless-stopped
<< service_name >>-db:
image: postgres:16-alpine
container_name: << service_name >>-db
environment:
- POSTGRES_DB=mastodon
- POSTGRES_USER=mastodon
- POSTGRES_PASSWORD=<< db_password >>
volumes:
- << appdata_dir >>/<< service_name >>-db:/var/lib/postgresql/data
restart: unless-stopped
<< service_name >>-redis:
image: valkey/valkey:8-alpine
container_name: << service_name >>-redis
command: valkey-server --save 60 1
volumes:
- << appdata_dir >>/<< service_name >>-redis:/data
restart: unless-stopped