Synapse. Port publishing added.

This commit is contained in:
Alexey Skobkin 2020-08-05 23:17:36 +03:00
parent c19186be5c
commit 5aaedc0b8e
2 changed files with 7 additions and 0 deletions

View file

@ -5,6 +5,11 @@ IMAGE_VERSION=latest
DATA_PATH=./data
HTTP_PORT_INT=8008
INTERFACE_EXT=127.0.0.1
HTTP_PORT_EXT=8008
# (mandatory): the server public hostname:
SYNAPSE_SERVER_NAME=my.domain.tld
# (mandatory, yes or no): whether to enable anonymous statistics reporting:

View file

@ -6,6 +6,8 @@ services:
# https://github.com/matrix-org/synapse/tree/master/docker
image: "matrixdotorg/synapse:${IMAGE_VERSION:-latest}"
container_name: synapse
ports:
- "${INTERFACE_EXT:-127.0.0.1}:${HTTP_PORT_EXT:-8008}:${HTTP_PORT_INT:-8008}/tcp"
volumes:
- "${DATA_PATH:-./data}:/data"
env_file: .env