Compare commits

..

2 commits

Author SHA1 Message Date
Alexey Skobkin c321e34f20 Merge pull request 'synapse. Changing network mode to host.' (#15) from feature_synapse_postgresql into master
Reviewed-on: #15
2022-03-16 02:20:28 +03:00
Alexey Skobkin 29a4ac3eb2
synapse. Changing network mode to host. 2022-03-16 01:01:04 +03:00

View file

@ -6,6 +6,8 @@ services:
# https://github.com/matrix-org/synapse/tree/master/docker # https://github.com/matrix-org/synapse/tree/master/docker
image: "matrixdotorg/synapse:${IMAGE_VERSION:-latest}" image: "matrixdotorg/synapse:${IMAGE_VERSION:-latest}"
container_name: synapse container_name: synapse
# This way we'll be able to access PostgreSQL on local machine using 'localhost' when it's listening only locally.
network_mode: host
ports: ports:
- "${INTERFACE_EXT:-127.0.0.1}:${HTTP_PORT_EXT:-8008}:${HTTP_PORT_INT:-8008}/tcp" - "${INTERFACE_EXT:-127.0.0.1}:${HTTP_PORT_EXT:-8008}:${HTTP_PORT_INT:-8008}/tcp"
volumes: volumes: