233bd0b700
mautrix-telegram. Telegram bridge for Matrix. Closes #31. Reviewed-on: #33
35 lines
903 B
YAML
35 lines
903 B
YAML
version: '3.7'
|
|
|
|
services:
|
|
synapse:
|
|
# https://hub.docker.com/r/matrixdotorg/synapse
|
|
# https://github.com/matrix-org/synapse/tree/master/docker
|
|
image: "matrixdotorg/synapse:${IMAGE_VERSION:-latest}"
|
|
container_name: synapse
|
|
hostname: synapse
|
|
extra_hosts:
|
|
- 'host.docker.internal:host-gateway'
|
|
ports:
|
|
- "${INTERFACE_EXT:-127.0.0.1}:${HTTP_PORT_EXT:-8008}:${HTTP_PORT_INT:-8008}/tcp"
|
|
volumes:
|
|
- "${DATA_PATH:-./data}:/data"
|
|
# SSL certs directory
|
|
- "${SSL_PATH:-./ssl}:/ssl:ro"
|
|
# Bridges
|
|
# Telegram
|
|
- "../mautrix-telegram/data:/bridges/mautrix-telegram/data:ro"
|
|
env_file: .env
|
|
networks:
|
|
- default
|
|
- matrix
|
|
restart: unless-stopped
|
|
logging:
|
|
driver: "json-file"
|
|
options:
|
|
max-size: "${LOG_MAX_SIZE:-5m}"
|
|
max-file: "${LOG_MAX_FILE:-5}"
|
|
|
|
networks:
|
|
matrix:
|
|
external: true
|