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
|
# In order to expose Synapse, remove one of the following, you might for
|
||||||
# instance expose the TLS port directly:
|
# instance expose the TLS port directly:
|
||||||
ports:
|
ports:
|
||||||
- 10022:8008/tcp
|
- 127.0.0.1:10022:8008/tcp
|
||||||
- 9183:9183/tcp
|
- 127.0.0.1:9183:9183/tcp
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "curl", "-fSs", "http://localhost:8008/health"]
|
test: ["CMD", "curl", "-fSs", "http://localhost:8008/health"]
|
||||||
interval: 15s
|
interval: 15s
|
||||||
|
@ -38,23 +38,35 @@ services:
|
||||||
retries: 3
|
retries: 3
|
||||||
start_period: 5s
|
start_period: 5s
|
||||||
|
|
||||||
sliding-sync:
|
# sliding-sync:
|
||||||
image: ghcr.io/matrix-org/sliding-sync:latest
|
# image: ghcr.io/matrix-org/sliding-sync:latest
|
||||||
container_name: matrix-sliding-sync
|
# container_name: matrix-sliding-sync
|
||||||
restart: unless-stopped
|
# restart: unless-stopped
|
||||||
volumes:
|
# volumes:
|
||||||
- /var/run/postgresql/:/run/postgresql:rw
|
# - /var/run/postgresql/:/run/postgresql:rw
|
||||||
env_file:
|
# env_file:
|
||||||
- path: ./sliding-sync/.env
|
# - path: ./sliding-sync/.env
|
||||||
required: true
|
# required: true
|
||||||
environment:
|
# environment:
|
||||||
- SYNCV3_SERVER=http://synapse:8008
|
# - SYNCV3_SERVER=http://synapse:8008
|
||||||
- SYNCV3_BINDADDR=:8008
|
# - SYNCV3_BINDADDR=:8008
|
||||||
- SYNCV3_LOG_LEVEL=debug
|
# - SYNCV3_LOG_LEVEL=debug
|
||||||
ports:
|
# ports:
|
||||||
- 10024:8008
|
# - 127.0.0.1:10024:8008
|
||||||
depends_on:
|
# depends_on:
|
||||||
- synapse
|
# - 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:
|
mautrix-telegram:
|
||||||
image: dock.mau.dev/mautrix/telegram:latest
|
image: dock.mau.dev/mautrix/telegram:latest
|
||||||
|
@ -85,6 +97,12 @@ services:
|
||||||
ports:
|
ports:
|
||||||
- 10023:80/tcp
|
- 10023:80/tcp
|
||||||
|
|
||||||
|
synapse-admin:
|
||||||
|
image: awesometechnologies/synapse-admin
|
||||||
|
ports:
|
||||||
|
- "10025:80"
|
||||||
|
restart: unless-stopped
|
||||||
|
|
||||||
# TODO: Use pgbouncer
|
# TODO: Use pgbouncer
|
||||||
networks:
|
networks:
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in a new issue