37 lines
837 B
YAML
37 lines
837 B
YAML
version: "3.3"
|
|
|
|
services:
|
|
synapse-admin:
|
|
image: awesometechnologies/synapse-admin
|
|
ports:
|
|
- 8009:80
|
|
restart: unless-stopped
|
|
synapse:
|
|
image: "matrixdotorg/synapse:latest"
|
|
container_name: "matrix_synapse"
|
|
ports:
|
|
- 8008:8008
|
|
volumes:
|
|
- "./data:/data" #it will look at the current directory where you save the file and look for the data folder inside
|
|
environment:
|
|
VIRTUAL_HOST: "m.datura.network"
|
|
VIRTUAL_PORT: 8008
|
|
LETSENCRYPT_HOST: "m.datura.network"
|
|
SYNAPSE_SERVER_NAME: "m.datura.network"
|
|
SYNAPSE_REPORT_STATS: "yes"
|
|
coturn:
|
|
image: instrumentisto/coturn:latest
|
|
restart: unless-stopped
|
|
volumes:
|
|
- ./coturn/turnserver.conf:/etc/coturn/turnserver.conf
|
|
ports:
|
|
- 47160-47200:47160-47200/udp
|
|
- 3478:3478
|
|
- 5349:5349
|
|
networks:
|
|
- mybridge
|
|
networks:
|
|
mybridge:
|
|
driver: bridge
|
|
|