mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-04-25 01:28:21 -04:00
45 lines
929 B
YAML
45 lines
929 B
YAML
services:
|
|
|
|
synapse:
|
|
build: .
|
|
restart: "no"
|
|
healthcheck:
|
|
disable: true
|
|
volumes:
|
|
- synapse:/data
|
|
ports:
|
|
- 8228:8008/tcp
|
|
|
|
postgres:
|
|
image: docker.io/postgres
|
|
environment:
|
|
POSTGRES_PASSWORD: postgres
|
|
POSTGRES_USER: postgres
|
|
POSTGRES_DB: syncv3
|
|
healthcheck:
|
|
test: ["CMD", "pg_isready"]
|
|
interval: 10s
|
|
timeout: 5s
|
|
retries: 5
|
|
volumes:
|
|
- db:/var/lib/postgresql/data
|
|
|
|
sliding-sync-proxy:
|
|
image: ghcr.io/matrix-org/sliding-sync:v0.99.11
|
|
depends_on:
|
|
synapse:
|
|
condition: service_started
|
|
postgres:
|
|
condition: service_healthy
|
|
environment:
|
|
SYNCV3_SERVER: http://synapse:8008
|
|
SYNCV3_SECRET: SUPER_SECRET
|
|
SYNCV3_BINDADDR: ":8338"
|
|
SYNCV3_DB: "user=postgres password=postgres dbname=syncv3 sslmode=disable host=postgres"
|
|
ports:
|
|
- 8338:8338
|
|
|
|
volumes:
|
|
synapse:
|
|
db:
|