- Fixed leftover chat.vereinschat.local defaults in docker-compose.yml and homeserver.yaml.sample that the earlier bulk rename missed (placeholders weren't plain "VereinsChat" text) - Generalized example prod domain from chat.verein.de to chat.example.org - Disabled federation by default in homeserver.yaml.sample (client-only resources, empty federation_domain_whitelist) since TalkTime runs a private homeserver per deployment, not a public Matrix participant - Added concrete nginx TLS reverse-proxy config and a federation-enable note to the Synapse README instead of a stale "see deployment.md" pointer Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TBf3yfnnHzMQ5qhLV2285A
25 lines
618 B
YAML
25 lines
618 B
YAML
services:
|
|
synapse-db:
|
|
image: postgres:16
|
|
restart: unless-stopped
|
|
environment:
|
|
POSTGRES_USER: synapse
|
|
POSTGRES_PASSWORD: ${SYNAPSE_DB_PASSWORD:-changeme}
|
|
POSTGRES_DB: synapse
|
|
POSTGRES_INITDB_ARGS: "--encoding=UTF8 --locale=C"
|
|
volumes:
|
|
- ./pgdata:/var/lib/postgresql/data
|
|
|
|
synapse:
|
|
image: matrixdotorg/synapse:latest
|
|
restart: unless-stopped
|
|
depends_on:
|
|
- synapse-db
|
|
environment:
|
|
SYNAPSE_SERVER_NAME: ${SYNAPSE_SERVER_NAME:-chat.talktime.local}
|
|
SYNAPSE_REPORT_STATS: "no"
|
|
volumes:
|
|
- ./data:/data
|
|
ports:
|
|
- "8008:8008"
|