Synapse. Port publishing added.
This commit is contained in:
parent
c19186be5c
commit
5aaedc0b8e
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue