Update synapse config
This commit is contained in:
parent
4a2d429823
commit
2ba2265b65
1 changed files with 37 additions and 19 deletions
|
@ -29,8 +29,8 @@ services:
|
|||
# In order to expose Synapse, remove one of the following, you might for
|
||||
# instance expose the TLS port directly:
|
||||
ports:
|
||||
- 10022:8008/tcp
|
||||
- 9183:9183/tcp
|
||||
- 127.0.0.1:10022:8008/tcp
|
||||
- 127.0.0.1:9183:9183/tcp
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-fSs", "http://localhost:8008/health"]
|
||||
interval: 15s
|
||||
|
@ -38,23 +38,35 @@ services:
|
|||
retries: 3
|
||||
start_period: 5s
|
||||
|
||||
sliding-sync:
|
||||
image: ghcr.io/matrix-org/sliding-sync:latest
|
||||
container_name: matrix-sliding-sync
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- /var/run/postgresql/:/run/postgresql:rw
|
||||
env_file:
|
||||
- path: ./sliding-sync/.env
|
||||
required: true
|
||||
environment:
|
||||
- SYNCV3_SERVER=http://synapse:8008
|
||||
- SYNCV3_BINDADDR=:8008
|
||||
- SYNCV3_LOG_LEVEL=debug
|
||||
ports:
|
||||
- 10024:8008
|
||||
depends_on:
|
||||
- synapse
|
||||
# sliding-sync:
|
||||
# image: ghcr.io/matrix-org/sliding-sync:latest
|
||||
# container_name: matrix-sliding-sync
|
||||
# restart: unless-stopped
|
||||
# volumes:
|
||||
# - /var/run/postgresql/:/run/postgresql:rw
|
||||
# env_file:
|
||||
# - path: ./sliding-sync/.env
|
||||
# required: true
|
||||
# environment:
|
||||
# - SYNCV3_SERVER=http://synapse:8008
|
||||
# - SYNCV3_BINDADDR=:8008
|
||||
# - SYNCV3_LOG_LEVEL=debug
|
||||
# ports:
|
||||
# - 127.0.0.1:10024:8008
|
||||
# depends_on:
|
||||
# - synapse
|
||||
|
||||
# matrix-auth-service:
|
||||
# image: ghcr.io/element-hq/matrix-authentication-service:latest
|
||||
# container_name: matrix-authentication-service
|
||||
# restart: unless-stopped
|
||||
# volumes:
|
||||
# - /var/run/postgresql/:/run/postgresql:rw
|
||||
# - ./matrix-auth-service/config.yaml:/config.yaml:rw
|
||||
# ports:
|
||||
# - 127.0.0.1:10026:8080
|
||||
# depends_on:
|
||||
# - synapse
|
||||
|
||||
mautrix-telegram:
|
||||
image: dock.mau.dev/mautrix/telegram:latest
|
||||
|
@ -85,6 +97,12 @@ services:
|
|||
ports:
|
||||
- 10023:80/tcp
|
||||
|
||||
synapse-admin:
|
||||
image: awesometechnologies/synapse-admin
|
||||
ports:
|
||||
- "10025:80"
|
||||
restart: unless-stopped
|
||||
|
||||
# TODO: Use pgbouncer
|
||||
networks:
|
||||
default:
|
||||
|
|
Loading…
Reference in a new issue