synapse-admin. Reconfiguring networks.
This commit is contained in:
parent
048f32f8d8
commit
1b6e67dba6
|
@ -1,13 +1,22 @@
|
||||||
version: '3.7'
|
version: '3.7'
|
||||||
|
|
||||||
|
networks:
|
||||||
|
# You need to create this network manually first!
|
||||||
|
synapse:
|
||||||
|
external: true
|
||||||
|
|
||||||
services:
|
services:
|
||||||
synapse:
|
synapse:
|
||||||
# https://hub.docker.com/r/matrixdotorg/synapse
|
# https://hub.docker.com/r/matrixdotorg/synapse
|
||||||
# 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.
|
hostname: synapse
|
||||||
network_mode: host
|
extra_hosts:
|
||||||
|
- 'host.docker.internal:host-gateway'
|
||||||
|
networks:
|
||||||
|
- default
|
||||||
|
- synapse
|
||||||
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:
|
||||||
|
|
Loading…
Reference in a new issue